Sha256: 9ca371666514b2c0de712574a45730fca6bf440640ae068d08925f47775be3de
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
- if tmpl = admin_partial_name(form_builder) = render tmpl - else = admin_form_for resource do |f| - form_builder.fields.each do |node| - if node.group? - if node.localized? = f.locale_tabs do |l| - node.fields.each do |field| - field.options[:as] = :editor if !field.options.key?(:as) && field.name.to_s =~ /description|content|body/ = f.render_dsl_node field, locale: l - else = input_set node.title, node.options do - node.fields.each do |field| = f.render_dsl_node field - else = f.render_dsl_node node - if f.object.respond_to?(:fileupload_guid) && f.object.new_record? = f.hidden_field :fileupload_guid = f.save_buttons - if settings[:comments] = admin_comments - if settings[:history] && settings[:history][:sidebar] .sidebar.abs_bar.well.well-small label.do_toggle.label.label-large= t 'admin.actions.history.title' table.table.table-striped thead tr th= Track.han(:created_at) th= Track.han(:user) tbody - resource.tracks.recently.each do |a| tr td= l(a.created_at, format: :short) td= auto_show_link a.user
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.4.0 | app/views/admin/manager/_form.html.slim |