Sha256: 02cd43b727c41b6c5018f5de1ae9129470d66476d4d18c078989b8aa44f4e17a
Contents?: true
Size: 1.29 KB
Versions: 36
Compression:
Stored size: 1.29 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' .field = f.label :profile = f.select :profile_id, options_for_select( @profiles_list, selected: newsitem[:profile_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
36 entries across 36 versions & 1 rubygems