Sha256: 4eb586083c5121d28cafd1484629ff9641d07c744bca039b1e0f03c780c7e634
Contents?: true
Size: 1.13 KB
Versions: 74
Compression:
Stored size: 1.13 KB
Contents
-# -# ish_manager / newsitems / _form -# = form_for newsitem, :html => { :multipart => true } do |f| .row .col-sm-6 .field = f.label :map = f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ), {}, class: 'select2' .col-sm-6 = f.submit :submit %hr .row .col-sm-6 .field = f.label :name = f.text_field :name .field = label_tag :photo = file_field_tag :photo .field = f.label :subhead = f.text_area :subhead .field = f.label :descr = f.text_area :descr, :class => :tinymce .col-sm-6 .field = f.label :video = f.select :video_id, options_for_select( @videos_list, :selected => @newsitem.video_id ), {}, class: 'select2' .field = f.label :gallery = f.select :gallery_id, options_for_select( @galleries_list, :selected => @newsitem.gallery_id ), {}, class: 'select2' .field = f.label :report = f.select :report_id, options_for_select( @reports_list, :selected => @newsitem.report_id ), {}, class: 'select2'
Version data entries
74 entries across 74 versions & 1 rubygems