app/views/shelves/_form.html.erb in enju_library-0.1.0.pre33 vs app/views/shelves/_form.html.erb in enju_library-0.1.0.pre34
- old
+ new
@@ -1,26 +1,26 @@
<%= render 'page/required_field' %>
-<%= simple_form_for(@shelf, :validate => true) do |f| -%>
+<%= simple_form_for(@shelf, validate: true) do |f| -%>
<%= f.error_messages -%>
<div class="field">
<%= f.label :name -%><br />
- <%= f.text_field :name, :class => 'short_name' -%>
+ <%= f.text_field :name, class: 'short_name' -%>
</div>
<div class="field">
<%= f.label :display_name -%><br />
- <%= f.text_area :display_name, :class => 'resource_textarea' -%>
+ <%= f.text_area :display_name, class: 'resource_textarea' -%>
</div>
<div class="field">
<%= f.label :closed -%>
<%= f.check_box :closed %>
</div>
<div class="field">
<%= f.label :note -%><br />
- <%= f.text_area :note, :class => 'resource_textarea' -%>
+ <%= f.text_area :note, class: 'resource_textarea' -%>
</div>
<div class="field">
<%= f.label t('activerecord.models.library') -%><br />
<select id="library_id" name="library_id">