lib/generators/redmine_extensions/entity/templates/edit.html.erb.erb in redmine_extensions-0.3.7 vs lib/generators/redmine_extensions/entity/templates/edit.html.erb.erb in redmine_extensions-0.3.8
- old
+ new
@@ -1,8 +1,8 @@
<%%= title l(:heading_<%= model_name_underscored %>_edit) %>
-<%%= form_for([@project, @<%= model_name_underscored %>], html: {multipart: <%= acts_as_attachable? %>, id: '<%= model_name_underscored %>_form', class: 'tabular', remote: request.xhr?}) do |f| %>
+<%%= form_for([@project, @<%= model_name_underscored %>], html: { multipart: <%= acts_as_attachable? %>, id: '<%= model_name_underscored %>_form', class: 'tabular', remote: request.xhr? }) do |f| %>
<%%= error_messages_for @<%= model_name_underscored %> %>
<div class="box">
<%%= render partial: 'form', locals: {<%= model_name_underscored %>: @<%= model_name_underscored %>} %>
</div>
@@ -13,7 +13,7 @@
</p>
<%% end %>
<%% end %>
<%% ### PAGE CUSTOMS ########################################################## %>
<%% content_for :sidebar do %>
- <%%= render :partial => '<%= model_name_pluralize_underscored %>/sidebar' %>
-<%% end %>
\ No newline at end of file
+ <%%= render partial: '<%= model_name_pluralize_underscored %>/sidebar' %>
+<%% end %>