aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/banners/admin
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-07-03 15:39:56 +0200
committerHarald Eilertsen <haraldei@anduin.net>2016-07-03 15:55:25 +0200
commit393b5d1a3fcb1106734dbb6a3d3eec52f42368bf (patch)
tree232c28b64841f553ea2e94a0a4f3c2d8dbe3ed61 /app/views/refinery/banners/admin
parent4107bc866b5a26254b315afb8c3102ce739a1ead (diff)
downloadrefinerycms-pc_banners-refinerycms-3.tar.gz
refinerycms-pc_banners-refinerycms-3.tar.bz2
refinerycms-pc_banners-refinerycms-3.zip
Add category field to banners table.refinerycms-3
Diffstat (limited to 'app/views/refinery/banners/admin')
-rw-r--r--app/views/refinery/banners/admin/banners/_form.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/refinery/banners/admin/banners/_form.html.erb b/app/views/refinery/banners/admin/banners/_form.html.erb
index 2d6d848..5ff1584 100644
--- a/app/views/refinery/banners/admin/banners/_form.html.erb
+++ b/app/views/refinery/banners/admin/banners/_form.html.erb
@@ -41,6 +41,11 @@
</div>
+ <div class='field'>
+ <%= f.label :category -%>
+ <%= f.text_field :category %>
+ </div>
+
<% if Refinery::I18n.frontend_locales %>
<div class='field'>
<%= f.label :locale -%>