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