Sha256: 531b9d96bcc2b2c928735604efaa6bba523f51d948de4ab066404ce053aea4ee

Contents?: true

Size: 1.35 KB

Versions: 55

Compression:

Stored size: 1.35 KB

Contents

-# manager/features/_form
- if @city
  - url = city_features_path( @city )
- if @site
  - url = site_features_path( @site )
- if @tag
  - url = tag_features_path( @tag )
  
= form_for @feature, :url => url 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

55 entries across 55 versions & 1 rubygems

Version Path
ish_manager-0.1.8.136 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.135 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.134 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.133 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.132 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.131 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.129 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.128 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.127 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.126 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.125 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.124 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.123 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.122 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.121 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.120 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.119 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.118 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.117 app/views/ish_manager/features/_form.haml
ish_manager-0.1.8.116 app/views/ish_manager/features/_form.haml