Sha256: c83680c1329f076f67ba49e22bc1c405bece22c8554ec7680f378fe50c8c70f5

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 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 :gallery_width %>
<%= 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" %>

<%= 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

2 entries across 2 versions & 1 rubygems

Version Path
sofa_gallery-0.0.2 app/views/sofa_gallery/admin/galleries/_form.html.erb
sofa_gallery-0.0.1 app/views/sofa_gallery/admin/galleries/_form.html.erb