Sha256: a9e5532c64f411d204ba2001b5f65658adebaec766eecef3fa7e2030c89a8f6e

Contents?: true

Size: 385 Bytes

Versions: 7

Compression:

Stored size: 385 Bytes

Contents

= admin_form_for AdminComment.new, remote: true do |f|
  = f.input_field :resource_type, as: :hidden, value: resource.class.name
  = f.input_field :resource_id, as: :hidden, value: resource.id
  = f.input_field :body, size: '80x4', required: true
  = f.button :submit, t('admin.comments.add'), title: t('admin.comments.add'), id: 'submit_admin_comments_form', class: 'btn btn-primary'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ab_admin-0.3.6 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.5 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.4 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.3 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.2 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.1 app/views/admin/admin_comments/_form.html.slim
ab_admin-0.3.0 app/views/admin/admin_comments/_form.html.slim