Sha256: 7901c69cfd99dcf0364ca2f1bb7cf0fd8043019b85f132816ef198d44fdb4351
Contents?: true
Size: 998 Bytes
Versions: 6
Compression:
Stored size: 998 Bytes
Contents
- content_for :head do = javascript_include_tag 'admin/plugins/fancybox', 'admin/custom_fields' = stylesheet_link_tag 'admin/plugins/fancybox', 'admin/box' = f.inputs :name => :information do = f.input :name = f.input :slug = f.input :description = render 'admin/custom_fields/index', :form => f, :collection_name => 'contents' - unless f.object.new_record? = f.foldable_inputs :name => :presentation, :class => 'switchable' do = f.input :highlighted_field_name, :as => :select, :collection => options_for_highlighted_field(f.object, 'contents'), :include_blank => false = f.input :group_by_field_name, :as => :select, :collection => options_for_group_by_field(f.object, 'contents') = f.foldable_inputs :name => :options, :class => 'switchable' do = f.input :order_by, :as => :select, :collection => options_for_order_by(f.object, 'contents'), :include_blank => false = f.custom_input :api_enabled, :css => 'toggle' do = f.check_box :api_enabled
Version data entries
6 entries across 6 versions & 1 rubygems