Sha256: a084d2adcf0d1e460965b528cf5c901bc49b4043def27f546528fbd2012544cb
Contents?: true
Size: 1.28 KB
Versions: 9
Compression:
Stored size: 1.28 KB
Contents
-# -# ish_manager / newsitems / _form -# = form_for newsitem, :html => { :multipart => true } do |f| .row .col.s6 .field = f.label :name = f.text_field :name .field = label_tag :photo = file_field_tag :photo .field = f.label :descr = f.text_area :descr, :class => :tinymce .col.s6 .field = f.label :map = f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ) .field = f.label :site = f.select :site_id, options_for_select( @sites_list, :selected => ( newsitem[:site_id] || params[:site_id] ) ) .field = f.label :city = f.select :city_id, options_for_select( @cities_list, :selected => ( newsitem[:city_id] || params[:city_id] ) ) %hr .row .col.s6 .field = f.label :video = f.select :video_id, options_for_select( @videos_list, :selected => @newsitem.video_id ) .field = f.label :gallery = f.select :gallery_id, options_for_select( @galleries_list, :selected => @newsitem.gallery_id ) .field = f.label :report = f.select :report_id, options_for_select( @reports_list, :selected => @newsitem.report_id ) .col.s6 = f.submit :submit
Version data entries
9 entries across 9 versions & 1 rubygems