Sha256: ede4b67e1d8a5d8a9709f333871d6f06743f240067714fca7bf5c7508ae271fd

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 KB

Contents

-# manager/features/_form
  
= form_for @feature do |f|
  - if @city
    = hidden_field_tag :city_id, @city.id
    City #{@city.name}
  - if @site
    = hidden_field_tag :site_id, @site.id
    Site #{@site.domain}
  - if @tag
    = hidden_field_tag :tag_id,  @tag.id  if @tag
    Tag #{@tag.name}
    
  .row
    .large-6.columns
      = f.label :name
      = f.text_field :name
      %br
      = f.label :subhead
      = f.text_field :subhead
      %br
      = f.label :image_path
      = f.text_field :image_path
      %br
      = f.label :link_path
      = f.text_field :link_path
      %br
      = f.label :photo
      = f.file_field :photo
    .large-6.columns
      = f.label :report
      = select :feature, :report_id, @reports_list
      %br
      = f.label :gallery
      = select :feature, :gallery_id, @galleries_list
      %br
      = f.label :video
      = select :feature, :video_id, @videos_list
      
  .row
    %hr
    .large-6.columns 
      %br
      = f.label :weight
      = f.text_field :weight
      %br
      = f.label :partial_name
      = f.text_field :partial_name
    .large-6.columns
      .field
        = f.label :inner_html
        = f.text_area :inner_html
      .actions
        = f.submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ish_manager-0.1.8.32 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.31 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.30 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.29 app/views/ish_manager/features/_form.haml