Skip to content

Commit

Permalink
View clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
BDQ committed Jan 21, 2011
1 parent 4b551ac commit 84884d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.swp
2 changes: 1 addition & 1 deletion app/views/admin/comment_types/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<%= hook :admin_comment_type_edit_form_header do %>
<h1><%= t("editing_comment_type") %></h1>
<%= error_messages_for :comment_type %>
<%= render "shared/error_messages", :target => @comment_type %>
<% end %>

<%= hook :admin_comment_type_edit_form do %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/comment_types/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<td><%= comment_type.applies_to %></td>
<% end %>
<td width="140px">
<% hook :admin_comment_types_index_row_actions, locals do %>
<%= hook :admin_comment_types_index_row_actions, locals do %>
<%= link_to_edit comment_type %> &nbsp;
<%= link_to_delete comment_type %>
<% end %>
Expand Down
1 change: 0 additions & 1 deletion app/views/admin/comment_types/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<%= render "shared/error_messages", :target => @comment_type %>
<% end %>

<h1> Hi, Steven</h1>
<%= hook :admin_comment_type_new_form do %>
<%= form_for(:comment_type, :url => collection_url) do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/admin/orders/_tab.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<li <%= ' class="active"' if current == "Comments" %>>
<li <%= raw ' class="active"' if current == "Comments" %>>
<%= link_to t("comments"), comments_admin_order_url(@order) %>
</li>
</li>

0 comments on commit 84884d4

Please sign in to comment.