rails_generators/themed/templates/view_new.html.erb in web-app-theme-0.4.0 vs rails_generators/themed/templates/view_new.html.erb in web-app-theme-0.5.0
- old
+ new
@@ -1,14 +1,13 @@
<div class="block">
<div class="secondary-navigation">
- <ul>
- <li class="first"><%%= link_to 'List', <%= controller_routing_path %>_path %></li>
- <li class="active"><%%= link_to 'New', new_<%= singular_controller_routing_path %>_path %></li>
+ <ul class="wat-cf">
+ <li class="first"><%%= link_to "#{t("web-app-theme.list", :default => "List")}", <%= controller_routing_path %>_path %></li>
+ <li class="active"><%%= link_to "#{t("web-app-theme.new", :default => "New")}", new_<%= singular_controller_routing_path %>_path %></li>
</ul>
- <div class="clear"></div>
</div>
<div class="content">
- <h2 class="title">New <%= model_name %></h2>
+ <h2 class="title"><%%= t("web-app-theme.new", :default => "New")%> <%= model_name %></h2>
<div class="inner">
<%% form_for :<%= model_name.underscore %>, :url => <%= controller_routing_path %>_path, :html => { :class => :form } do |f| -%>
<%%= render :partial => "form", :locals => {:f => f} %>
<%% end -%>
</div>
\ No newline at end of file