@extends('backEnd.master') @section('title') @lang('downloadCenter.content_type') @endsection @section('mainContent')
@if (isset($type)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'download-center.content-type-update', 'method' => 'POST']) }} @else {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'download-center.content-type-save', 'method' => 'POST']) }} @endif

@if (isset($type)) @lang('downloadCenter.edit_type') @else @lang('downloadCenter.add_type') @endif

@if ($errors->has('name')) {{ @$errors->first('name') }} @endif
{{ Form::close() }}

@lang('downloadCenter.content_type_list')

@if ($types) @foreach ($types as $type) @endforeach @endif
@lang('downloadCenter.name') @lang('downloadCenter.description') @lang('common.action')
{{ $type->name }} {{ $type->description }} @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js')