diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2014-03-02 21:57:14 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2014-03-02 21:57:14 +0100 |
commit | a565503bef77c14892a131575e1927b2b98c859f (patch) | |
tree | ffcff80acc325a9cebd5b3a085a6b4d485ecaeb5 /app/views/refinery/blog/admin | |
parent | 455abf20321fbf2cd8247a95973787b1af21ccde (diff) | |
download | hmnoweb-a565503bef77c14892a131575e1927b2b98c859f.tar.gz hmnoweb-a565503bef77c14892a131575e1927b2b98c859f.tar.bz2 hmnoweb-a565503bef77c14892a131575e1927b2b98c859f.zip |
Allow customization of number of sidebar items for each category.
Diffstat (limited to 'app/views/refinery/blog/admin')
-rw-r--r-- | app/views/refinery/blog/admin/categories/_form.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/refinery/blog/admin/categories/_form.html.erb b/app/views/refinery/blog/admin/categories/_form.html.erb index 3af3fc9..4538aef 100644 --- a/app/views/refinery/blog/admin/categories/_form.html.erb +++ b/app/views/refinery/blog/admin/categories/_form.html.erb @@ -15,6 +15,11 @@ <%= f.select :sidebar_position, make_choice_from(t('.sidebar_positions')) -%> </div> + <div class='field'> + <%= f.label :sidebar_items -%> + <%= f.select :sidebar_items, (1..25) -%> + </div> + <%= render :partial => "/refinery/admin/form_actions", :locals => { :f => f, |