Sha256: a1fac04b6685997d83de5e89e337782bb99d8d98c551e8eb2ebcf8e12f531c9e
Contents?: true
Size: 1.4 KB
Versions: 1
Compression:
Stored size: 1.4 KB
Contents
= simple_form_for @report, :url => report_form_url do |f| - main_content "Report List" do %fieldset{ :class=>"inputs"} = f.association :category, :as => :hidden %ol %li = f.input :title %li = f.input :standfirst, :input_html => { :rows => 4 } = render "ems/globals/lead_image", :form => f, :imageName => @report.image.url %li #button-bar.input-buttons = f.label :content = f.input_field :content, :data => {:wmd => "report_content"} %li = f.input :download_cta %li = f.input :report = render "ems/globals/asset", :form => f %fieldset{ :class=>"button"} %ol %li = f.submit - side_content do %fieldset{ :class=>"inputs"} %ol %li = f.input :status, :as => :select, :collection => [:draft, :pending, :live], :include_blank => false %li = f.input :publish_from, :as => :string, :input_html => { :class => 'datepicker', :value => @report.try(:publish_from).try(:strftime,'%d/%m/%Y'), :data => { :alt_date => "alt-date-" }} %li = f.association :channels, :collection => Ems::Channel.joins(:categories).where(:ems_categories_channels => {:category_id => @report.category.id}) %li = f.label "Reprot Priority" = f.input :hot = f.input :featured
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ems-0.1.1 | app/views/ems/reports/_form.html.haml |