diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-05-25 15:42:21 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-05-25 15:42:21 +0200 |
commit | e82857cf387143bd7415f48298b77caa33154b6a (patch) | |
tree | 539972bee22c592e051a4b6f593694053c3fa814 /app/views/refinery/banners | |
parent | fd949a1c09d7b834874c37e2e2fd5f5a62479113 (diff) | |
download | refinerycms-pc_banners-e82857cf387143bd7415f48298b77caa33154b6a.tar.gz refinerycms-pc_banners-e82857cf387143bd7415f48298b77caa33154b6a.tar.bz2 refinerycms-pc_banners-e82857cf387143bd7415f48298b77caa33154b6a.zip |
Remove fields we don't really use anymore.
Diffstat (limited to 'app/views/refinery/banners')
-rw-r--r-- | app/views/refinery/banners/admin/banners/_form.html.erb | 29 |
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 -%> - - |