Sha256: 988c2e228c0a57a9d2ee09af051ef4d4b9ef69350e84774b786860f52ee96e0f

Contents?: true

Size: 579 Bytes

Versions: 12

Compression:

Stored size: 579 Bytes

Contents

= admin_form_for AdminComment.new, remote: true do |f|
  = f.input_field :resource_type, as: :hidden, value: commentable.class.name
  = f.input_field :resource_id, as: :hidden, value: commentable.id
  .row-fluid
    .span5
      = f.input_field :body, size: '80x4', required: true
    .span7
      = f.input :attachment_files, as: :uploader, file_type: 'file', unwrapped: true
      = f.hidden_field :fileupload_guid if f.object.new_record?
  = f.button :submit, t('admin.comments.add'), title: t('admin.comments.add'), id: 'submit_admin_comments_form', class: 'btn btn-primary'

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ab_admin-0.11.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.10.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.9.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.8.3 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.8.2 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.8.1 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.8.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.7.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.6.1 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.6.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.5.0 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.4.0 app/views/admin/admin_comments/_form.html.slim