lib/generators/bootstrap/themed/templates/new.html.erb in bootstrap-sass-extras-0.0.6 vs lib/generators/bootstrap/themed/templates/new.html.erb in bootstrap-sass-extras-0.0.7
- old
+ new
@@ -1,5 +1,5 @@
<%%- model_class = <%= resource_name.classify %> -%>
<div class="page-header">
- <h1><%%=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize %></h1>
+ <h1><%%=t '.title', default: [:'helpers.titles.new', 'New %{model}'], model: model_class.model_name.human.titleize %></h1>
</div>
-<%%= render :partial => 'form' %>
+<%%= render partial: 'form' %>