From 8d8fc0db2e4e05f29a839083b16508b10d4849da Mon Sep 17 00:00:00 2001 From: Andrea Franz Date: Sat, 9 Jan 2010 15:13:32 +0100 Subject: [PATCH] added a clearfix class in the show view --- rails_generators/themed/templates/view_show.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rails_generators/themed/templates/view_show.html.erb b/rails_generators/themed/templates/view_show.html.erb index c85f074..484a771 100644 --- a/rails_generators/themed/templates/view_show.html.erb +++ b/rails_generators/themed/templates/view_show.html.erb @@ -14,8 +14,10 @@ <%%= @<%= resource_name %>.<%= column.name %> %>

<%- end -%> - <%%= link_to "#{image_tag("web-app-theme/application_edit.png", :alt => "#{t("web-app-theme.edit", :default=> "Edit")}")} #{t("web-app-theme.edit", :default=> "Edit")}", edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => "button" %> - <%%= link_to "#{image_tag("web-app-theme/cross.png", :alt => "#{t("web-app-theme.delete", :default=> "Delete")}")} #{t("web-app-theme.delete", :default => "Delete")}", <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :class => "button", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" %> +
+ <%%= link_to "#{image_tag("web-app-theme/application_edit.png", :alt => "#{t("web-app-theme.edit", :default=> "Edit")}")} #{t("web-app-theme.edit", :default=> "Edit")}", edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => "button" %> + <%%= link_to "#{image_tag("web-app-theme/cross.png", :alt => "#{t("web-app-theme.delete", :default=> "Delete")}")} #{t("web-app-theme.delete", :default => "Delete")}", <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :class => "button", :confirm => "#{t("web-app-theme.confirm", :default => "Are you sure?")}" %> +