engine/app/views/admin/custom_fields/_edit_field.html.haml

10 lines
429 B
Plaintext
Raw Normal View History

2010-08-02 11:45:50 +00:00
.fancybox-wrapper
#edit-custom-field
2010-07-21 23:56:42 +00:00
%h2!= t('.title')
= form_tag '#', :class => 'formtastic' do
= fields_for CustomFields::Field.new, :builder => Formtastic::SemanticFormHelper.builder do |g|
= g.inputs :name => :attributes do
= g.input :_alias
= g.input :hint
= g.input :text_formatting, :as => 'select', :collection => options_for_text_formatting, :include_blank => false