{{ Form::label('lang_id', 'Хэл') }}
{{ $errors->has('lang_id') ? $errors->first('lang_id') : '' }}
{{ Form::label('title', 'Нэр') }}
{{ Form::text('title', $item->title, ['class' => 'form-control', 'placeholder' => 'Нэр']) }}
{{ $errors->has('title') ? $errors->first('title') : '' }}
@if (Auth::user()->username == 'admin')
{{ Form::label('key_name', 'Онцлох үг') }}
{{ Form::text('key_name', $item->key_name, ['class' => 'form-control', 'placeholder' => 'Онцлох үг']) }}
{{ $errors->has('key_name') ? $errors->first('key_name') : '' }}
@endif
{{ Form::label('short_content', 'Товч мэдээлэл') }}
{{ $errors->has('short_content') ? $errors->first('short_content') : '' }}
{{ Form::label('content', 'Дэлгэрэнгүй мэдээлэл') }}
{{ $errors->has('content') ? $errors->first('content') : '' }}
{{ Form::label('link', 'Холбоос') }}
{{ Form::text('link', $item->link, ['class' => 'form-control', 'placeholder' => 'Холбоос']) }}
{{ $errors->has('link') ? $errors->first('link') : '' }}
@include('backend.contents.media.for_edit')
{{ Form::label('is_active', 'Идэвхтэй') }}
{{ Form::close() }}