aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/banners
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/banners')
-rw-r--r--app/views/refinery/banners/admin/banners/_form.html.erb29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/refinery/banners/admin/banners/_form.html.erb b/app/views/refinery/banners/admin/banners/_form.html.erb
index 356719e..becd596 100644
--- a/app/views/refinery/banners/admin/banners/_form.html.erb
+++ b/app/views/refinery/banners/admin/banners/_form.html.erb
@@ -12,18 +12,6 @@
</div>
<div class='field'>
- <%= f.label :title -%>
- <%= f.text_field :title -%>
-
- </div>
-
- <div class='field'>
- <%= f.label :description -%>
- <%= f.text_area :description, :rows => 20, :class => 'wymeditor widest' -%>
-
- </div>
-
- <div class='field'>
<%= f.label :image -%>
<%= render '/refinery/admin/image_picker',
:f => f,
@@ -41,13 +29,6 @@
</div>
- <% if Refinery::I18n.frontend_locales %>
- <div class='field'>
- <%= f.label :locale -%>
- <%= f.select :locale, Refinery::I18n.frontend_locales, include_blank: true -%>
- </div>
- <% end %>
-
<div class='field'>
<%= f.label :is_active -%>
<%= f.check_box :is_active, :checked => @banner[:is_active] -%>
@@ -66,19 +47,9 @@
</div>
- <section id="records" class="tree">
- <%= f.label :pages %>
- <ul class="tristate">
- <%= render :partial => 'refinery/banners/admin/banners/page', :collection => Refinery::Page.order("lft ASC").select{|p| p.parent_id.nil?} %>
- </ul>
- </section>
-
-
<div style="clear: both;"></div>
<%= render '/refinery/admin/form_actions', :f => f,
:continue_editing => false,
:delete_title => t('delete', :scope => 'refinery.banners.admin.banners.banner'),
:delete_confirmation => t('message', :scope => 'refinery.admin.delete', :title => @banner.name) %>
<% end -%>
-
-