Skip to content
Browse files

removed tag_title input

  • Loading branch information...
1 parent fbc683e commit 4e78bbe7ee2cc353ba8fd618806da061a82d88da @damianogiacomello committed Jul 13, 2013
Showing with 19 additions and 25 deletions.
  1. +0 −6 app/views/spree/admin/static_pages/_form.html.erb
  2. +19 −19 app/views/spree/admin/static_pages/new.html.erb
View
6 app/views/spree/admin/static_pages/_form.html.erb
@@ -21,12 +21,6 @@
</div>
<div class="right" style="width: 30%;" data-hook="admin_static_page_form_right">
<h2><%= t(:metadata) %></h2>
-
- <%= f.field_container :tag_title do %>
- <%= f.label :tag_title, t(:tag_title) %><br />
- <%= f.text_field :tag_title, :class => 'fullwidth' %>
- <% end %>
-
<%= f.field_container :meta_keywords do %>
<%= f.label :meta_keywords, t(:meta_keywords) %><br />
<%= f.text_field :meta_keywords, :class => 'fullwidth' %>
View
38 app/views/spree/admin/static_pages/new.html.erb
@@ -4,38 +4,38 @@
<fieldset data-hook="new_static_page">
<%= f.field_container :name do %>
- <%= f.label :name, t(:name) %> <span class="required">*</span><br />
- <%= f.text_field :name, :class => 'fullwidth title' %>
- <%= f.error_message_on :name %>
+ <%= f.label :name, t(:name) %> <span class="required">*</span><br />
+ <%= f.text_field :name, :class => 'fullwidth title' %>
+ <%= f.error_message_on :name %>
<% end %>
<div class="clearfix" data-hook="new_static_page_attrs">
<div class="left" style="width: 69%;">
<%= f.field_container :content do %>
- <%= f.label :content, t(:content) %><br />
- <%= f.cktext_area :content, :rows => 16, :class => "fullwidth" %>
- <%= f.error_message_on :content %>
+ <%= f.label :content, t(:content) %><br />
+ <%= f.cktext_area :content, :rows => 16, :class => "fullwidth" %>
+ <%= f.error_message_on :content %>
<% end %>
</div>
<div class="right" style="width: 30%;">
-
- <%= f.field_container :tag_title do %>
- <%= f.label :tag_title, t(:tag_title) %><br />
- <%= f.text_field :tag_title %>
- <%= f.error_message_on :tag_title %>
+
+ <%= f.field_container :meta_keywords do %>
+ <%= f.label :meta_keywords, t(:meta_keywords) %><br />
+ <%= f.text_field :meta_keywords %>
+ <%= f.error_message_on :meta_keywords %>
<% end %>
-
+
<%= f.field_container :meta_description do %>
- <%= f.label :meta_description, t(:meta_description) %><br />
- <%= f.text_field :meta_description %>
- <%= f.error_message_on :meta_description %>
+ <%= f.label :meta_description, t(:meta_description) %><br />
+ <%= f.text_field :meta_description %>
+ <%= f.error_message_on :meta_description %>
<% end %>
- <%= f.field_container :image do %>
- <%= f.label :image, t(:image) %><br />
- <%= f.file_field :image %>
- <%= f.error_message_on :image %>
+ <%= f.field_container :attachment do %>
+ <%= f.label :attachment, t(:attachment) %><br />
+ <%= f.file_field :attachment %>
+ <%= f.error_message_on :attachment %>
<% end %>
<p>

0 comments on commit 4e78bbe

Please sign in to comment.
Something went wrong with that request. Please try again.