2010-08-02 11:45:50 +00:00
|
|
|
.fancybox-wrapper
|
2010-06-08 00:45:49 +00:00
|
|
|
#edit-custom-field
|
2010-07-21 23:56:42 +00:00
|
|
|
%h2!= t('.title')
|
2010-06-08 00:45:49 +00:00
|
|
|
|
|
|
|
= form_tag '#', :class => 'formtastic' do
|
|
|
|
= fields_for CustomFields::Field.new, :builder => Formtastic::SemanticFormHelper.builder do |g|
|
2010-06-22 13:04:40 +00:00
|
|
|
= g.inputs :name => :attributes do
|
2010-06-10 13:30:22 +00:00
|
|
|
= g.input :_alias
|
2010-06-22 13:04:40 +00:00
|
|
|
= g.input :hint
|
2011-03-04 23:29:40 +00:00
|
|
|
= g.input :text_formatting, :as => 'select', :collection => options_for_text_formatting, :include_blank => false, :wrapper_html => { :style => 'display: none' }
|
2011-05-19 15:44:04 +00:00
|
|
|
= g.input :target, :as => 'select', :collection => options_for_association_target, :include_blank => false, :wrapper_html => { :style => 'display: none' }
|
2011-03-04 23:29:40 +00:00
|
|
|
|
|
|
|
.popup-actions
|
|
|
|
%p
|
|
|
|
%button.button.light{ :type => 'submit' }
|
|
|
|
%span= t('admin.shared.form_actions.update')
|