2010-06-22 13:04:40 +00:00
|
|
|
- highlighted_field_name = parent.highlighted_field_name rescue ''
|
|
|
|
|
|
|
|
= form.inputs :name => title || :attributes do
|
|
|
|
- form.object.custom_fields.each do |field|
|
2011-03-04 23:29:40 +00:00
|
|
|
- required = highlighted_field_name == field._name || field.required
|
2010-07-21 23:56:42 +00:00
|
|
|
|
2011-05-19 16:00:45 +00:00
|
|
|
= render "/admin/custom_fields/types/#{field.kind}", :form => form, :parent => parent, :field => field, :required => required
|
2011-05-19 15:44:04 +00:00
|
|
|
|
2011-03-17 16:41:25 +00:00
|
|
|
= render '/admin/custom_fields/category_tmpl'
|