Permalink
Browse files

remove attachment for static_page

  • Loading branch information...
1 parent 4e78bbe commit a7955a557bdd7058a8a8c6724da38d9414b63a1d @damianogiacomello committed Jul 13, 2013
View
10 app/views/spree/admin/static_pages/_form.html.erb
@@ -36,16 +36,6 @@
<%= f.error_message_on :published_at %>
<%= f.text_field :published_at, :class => 'datepicker' %>
<% end %>
-
- <div data-hook="thumbnail">
- <p><%= t(:thumbnail) %>:</p>
- <p><%= link_to image_tag(@static_page.image.url(:mini)), @static_page.image.url(:medium) %></p>
- </div>
- <%= f.field_container :image do %>
- <%= f.label :image, t(:image) %><br />
- <%= f.file_field :image %>
- <%= f.error_message_on :image %>
- <% end %>
</div>
</div>
</div>
View
6 app/views/spree/admin/static_pages/new.html.erb
@@ -32,12 +32,6 @@
<%= f.error_message_on :meta_description %>
<% end %>
- <%= f.field_container :attachment do %>
- <%= f.label :attachment, t(:attachment) %><br />
- <%= f.file_field :attachment %>
- <%= f.error_message_on :attachment %>
- <% end %>
-
<p>
<%= f.label :published_at, t(:published_at) %><br />
<%= f.error_message_on :published_at %>

0 comments on commit a7955a5

Please sign in to comment.