lib/generators/bootstrap/themed/templates/show.html.erb in twitter-bootstrap-rails-2.0.1.0 vs lib/generators/bootstrap/themed/templates/show.html.erb in twitter-bootstrap-rails-2.0.2
- old
+ new
@@ -2,9 +2,9 @@
<label class="label"><%%= t("activerecord.attributes.<%= singular_controller_routing_path %>.<%= column.name %>", :default => t("activerecord.labels.<%= column.name %>", :default => "<%= column.name.humanize %>")) %>:</label>
<p><%%= @<%= resource_name %>.<%= column.name %> %></p>
<%- end -%>
<div class="form-actions">
- <%%= link_to "Back", <%= controller_routing_path %>_path, :class => 'btn' %>
- <%%= link_to "Edit", edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn' %>
- <%%= link_to "Delete", <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}", :class => 'btn' %>
+<%%= link_to "Back", <%= controller_routing_path %>_path, :class => 'btn' %>
+<%%= link_to "Edit", edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn' %>
+<%%= link_to "Delete", <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}", :class => 'btn' %>
</div>