diff --git a/app/views/spree/admin/comment_types/_form.html.erb b/app/views/spree/admin/comment_types/_form.html.erb index 3706aae..0e29ff6 100644 --- a/app/views/spree/admin/comment_types/_form.html.erb +++ b/app/views/spree/admin/comment_types/_form.html.erb @@ -1,4 +1,4 @@ -
+
<%= f.field_container :name do %> <%= f.label :name, t(:name) %>
<%= f.text_field :name, :class => 'fullwidth title' %> diff --git a/app/views/spree/admin/comment_types/edit.html.erb b/app/views/spree/admin/comment_types/edit.html.erb index 284240c..c04f536 100644 --- a/app/views/spree/admin/comment_types/edit.html.erb +++ b/app/views/spree/admin/comment_types/edit.html.erb @@ -1,15 +1,15 @@ <%= render :partial => 'spree/admin/shared/configuration_menu' %> -
+

<%= t(:editing_comment_type) %>

<%= render 'spree/shared/error_messages', :target => @comment_type %>
-
+
<%= form_for(@comment_type, :url => object_url, :html => { :method => :put }) do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> -
+
<%= render :partial => 'spree/admin/shared/edit_resource_links' %>
<% end %> diff --git a/app/views/spree/admin/comment_types/index.html.erb b/app/views/spree/admin/comment_types/index.html.erb index 9cbb1ea..93fb21c 100644 --- a/app/views/spree/admin/comment_types/index.html.erb +++ b/app/views/spree/admin/comment_types/index.html.erb @@ -17,7 +17,7 @@ <%= t(:name) %> <%= t(:applies_to) %> -
+
@@ -27,7 +27,7 @@ <%= comment_type.name %> <%= comment_type.applies_to %> -
+
<%= link_to_edit comment_type %>   <%= link_to_delete comment_type %>
diff --git a/app/views/spree/admin/comment_types/new.html.erb b/app/views/spree/admin/comment_types/new.html.erb index c0a3dc5..8091711 100644 --- a/app/views/spree/admin/comment_types/new.html.erb +++ b/app/views/spree/admin/comment_types/new.html.erb @@ -1,16 +1,16 @@ <%= render :partial => 'spree/admin/shared/configuration_menu' %> -
+

<%= t(:new_comment_type) %>

<%= render 'spree/shared/error_messages', :target => @comment_type %>
-
+
<%= form_for(:comment_type, :url => collection_url) do |f| %> <%= render :partial => 'form', :locals => { :f => f } %> -
+
<%= render :partial => 'spree/admin/shared/new_resource_links' %>
<% end %>