@section('content')

Offerings> Docs > {{ $title }}

"{{ $offering->name }}" Offering - Docs

@if($errors->has())
@foreach ($errors->all() as $row)
{{ $row }}
@endforeach
@endif {{ Form::model($doc, $method) }}
Cancel
{{ Form::text('title', null, array('id' => 'input-title', 'placeholder' => 'Title', 'required' => 'true', 'class' => 'form-control')) }}
{{ Form::textarea('description', null, array('id' => 'redactor', 'placeholder' => 'Description', 'required' => 'true', 'class' => 'form-control')) }}
@if(!empty($doc->file_name)) {{ link_to_asset('/uploads/pdf/'.$doc->file_name, $doc->file_name, $attributes = array('target' => '_blank'), $secure = null) }} @else {{ Form::file('file'); }} @endif
@if(!empty($doc->file_name))
{{ Form::file('file'); }}
@endif
{{ Form::text('sort_order', null, array('id' => 'input-sort_order', 'class' => 'form-control')) }}
{{ Form::select('is_active', array('1' => 'Yes', '0' => 'No'), null, array('id' => 'input-is_active', 'class' => 'form-control')) }}
Cancel
{{ Form::close() }} @endsection