Repository URL to install this package:
|
Version:
3.4.1 ▾
|
!= Form::start('/articles/update/'.$element->id, new Evsmash\Articles\Article, $element)
.row
.col-md-6
!= Form::text('name')
!= Form::textarea('content')
.col-md-3
!= Form::select('type_id')->options(Element::flat(new Evsmash\Articles\ArticlesType, true))
!= Form::textarea('sneak')->rows(9)
!= Form::text('created_at')->addClass('datetimepicker')
!= Form::text('slug')
.col-md-3
!= Form::m2m($element, Evsmash\Articles\ArticlesCategory::where('depth', 0)->first()->getDescendants(), 'categories');
!= Dec::upload('Photo')
- if(!empty($element->photo)):
.thumb
!= Thumb::show($element->photo, '300xauto')
!= Form::checkbox('remove_photo')
- endif
#barbt
!= Form::button('Save & back')->addClass('btn-success')
!= Form::button('Save & continue', 'edit')
!= Form::end()
// js
!= Js::tinymce('content')
!= Js::upload('/articles/photo/'.$element->id, false, cfg('upload-images'))
!= Js::datepicker()