Sha256: fcd4bc557d09c47a1fa654e40c2fe7553b6a3d06dab0829e241eb41f0228fd41
Contents?: true
Size: 1.68 KB
Versions: 3
Compression:
Stored size: 1.68 KB
Contents
<section> <header> <h1>#{get_breadcrumbs}</h1> </header> #{form_for( @custom_field_type, :method => :post, :id => :custom_field_type_form, :action => CustomFields::Controller::CustomFieldTypes.r(:save) ) do |f| f.input_hidden(:csrf_token, get_csrf_token) f.input_hidden(:id , @custom_field_type.id) f.input_text( lang('custom_field_types.labels.name'), :name, :required => :required, :maxlength => 255 ) f.input_text( lang('custom_field_types.labels.language_string'), :language_string, :required => :required, :maxlength => 255 ) f.input_text( lang('custom_field_types.labels.html_class'), :html_class, :maxlength => 255, :pattern => '^[a-zA-Z\\\-_0-9\\\s]*$' ) f.input_radio( lang('custom_field_types.labels.serialize'), :serialize, @custom_field_type.serialize, :values => @boolean_hash.invert ) f.input_radio( lang('custom_field_types.labels.allow_markup'), :allow_markup, @custom_field_type.allow_markup, :values => @boolean_hash.invert ) f.select( lang('custom_field_types.labels.custom_field_method_id'), :custom_field_method_id, :values => @custom_field_methods, :size => 1, :selected => @custom_field_type.custom_field_method_id, :required => :required ) f.g.div(:class => 'button') do f.g.input( :type => :submit, :value => lang('custom_field_types.buttons.save') ) end end} </section>
Version data entries
3 entries across 3 versions & 1 rubygems