Sha256: 1a38dc8a1f1bce5efcf4ce0f1543176b696d8fd799e495f9b813eb01c95307e1

Contents?: true

Size: 413 Bytes

Versions: 5

Compression:

Stored size: 413 Bytes

Contents

%legend= t("active_admin.cms.forms.upload_new_file")
= semantic_form_for @form_answer, remote: true, html: { multipart: true } do |form|

  = form.semantic_fields_for :form_answer_attachments, form.object.form_answer_attachments.build do |attachment_form|
    = attachment_form.input :data, hint: @form_answer.data_file_name

    = form.action :submit, label: t("active_admin.cms.forms.upload_file"), as: :button

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.61 app/views/form_answers/_form.html.haml
activeadmin-selleo-cms-0.0.60 app/views/form_answers/_form.html.haml
activeadmin-selleo-cms-0.0.59 app/views/form_answers/_form.html.haml
activeadmin-selleo-cms-0.0.58 app/views/form_answers/_form.html.haml
activeadmin-selleo-cms-0.0.54 app/views/form_answers/_form.html.haml