aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/refinery/banners/admin/banners/_form.html.erb8
-rw-r--r--db/migrate/1_create_banners_banners.rb2
2 files changed, 0 insertions, 10 deletions
diff --git a/app/views/refinery/banners/admin/banners/_form.html.erb b/app/views/refinery/banners/admin/banners/_form.html.erb
index c4fbd21..2d6d848 100644
--- a/app/views/refinery/banners/admin/banners/_form.html.erb
+++ b/app/views/refinery/banners/admin/banners/_form.html.erb
@@ -41,12 +41,6 @@
</div>
- <div class='field'>
- <%= f.label :category -%>
- <%= f.text_field :category -%>
-
- </div>
-
<% if Refinery::I18n.frontend_locales %>
<div class='field'>
<%= f.label :locale -%>
@@ -86,5 +80,3 @@
:delete_title => t('delete', :scope => 'refinery.banners.admin.banners.banner'),
:delete_confirmation => t('message', :scope => 'refinery.admin.delete', :title => @banner.name) %>
<% end -%>
-
-
diff --git a/db/migrate/1_create_banners_banners.rb b/db/migrate/1_create_banners_banners.rb
index f815020..f9e350a 100644
--- a/db/migrate/1_create_banners_banners.rb
+++ b/db/migrate/1_create_banners_banners.rb
@@ -11,8 +11,6 @@ class CreateBannersBanners < ActiveRecord::Migration
t.date :start_date
t.date :expiry_date
t.integer :position
- t.string :category
- t.text :body
t.timestamps
end