Skip to content

Commit

Permalink
added a clearfix class in the show view
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast committed Jan 9, 2010
1 parent f61fbcf commit 8d8fc0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rails_generators/themed/templates/view_show.html.erb
Expand Up @@ -14,8 +14,10 @@
<%%= @<%= resource_name %>.<%= column.name %> %>
</p>
<%- 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?")}" %>
<div class="wat-cf">
<%%= 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?")}" %>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 8d8fc0d

Please sign in to comment.