lib/generators/bootstrap/themed/templates/new.html.erb in bootstrap-sass-extras-0.0.2 vs lib/generators/bootstrap/themed/templates/new.html.erb in bootstrap-sass-extras-0.0.3
- 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 %></h1>
+ <h1><%%=t '.title', :default => [:'helpers.titles.new', 'New %{model}'], :model => model_class.model_name.human.titleize %></h1>
</div>
<%%= render :partial => 'form' %>