Sha256: a87050b70639e875068a1b7cd66d02a534739d7d4dd1501b90a7a70213d83600

Contents?: true

Size: 768 Bytes

Versions: 4

Compression:

Stored size: 768 Bytes

Contents

<%= form.text_field :title, :id => (@gallery.new_record?? 'slugify' : nil)%>
<%= form.text_field :slug, :id => 'slug' %>
<%= form.text_area  :description%>

<%= form.text_field :full_width %>
<%= form.text_field :full_height %>
<%= form.check_box :force_ratio_full, :label => "Force Ratio" %>
<%= form.text_field :thumb_width %>
<%= form.text_field :thumb_height %>
<%= form.check_box :force_ratio_thumb, :label => "Force Ratio" %>

<%= render :partial => 'cms_admin/categories/form', :object => form if defined?(ComfortableMexicanSofa) %>

<%= form.simple_field nil, nil, :class => 'submit_element' do %>
  <%= link_to "Cancel", sofa_gallery_admin_galleries_path, :id => 'cancel_btn' %>
  <span>or</span>
  <%= form.submit "Save", :disable_builder => true%>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sofa_gallery-0.0.6 app/views/sofa_gallery/admin/galleries/_form.html.erb
sofa_gallery-0.0.5 app/views/sofa_gallery/admin/galleries/_form.html.erb
sofa_gallery-0.0.4 app/views/sofa_gallery/admin/galleries/_form.html.erb
sofa_gallery-0.0.3 app/views/sofa_gallery/admin/galleries/_form.html.erb