Sha256: d333ef129bd696fcaa7683286967dcac5e6d9b06a0d1d35339a71497419a16fb

Contents?: true

Size: 464 Bytes

Versions: 53

Compression:

Stored size: 464 Bytes

Contents

= simple_form_for [dorsale, Dorsale::Alexandrie::Attachment.new], as: :attachment, multipart: true do |f|
  = f.hidden_field :attachable_id,   value: attachable.id.to_s
  = f.hidden_field :attachable_type, value: attachable.class.to_s

  .form-group.upload
    .input-group
      .form-control
        = f.file_field :file
        label = t("actions.browse")

      span.input-group-btn
        button.btn.btn-success type="submit"
          = t("actions.upload")

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
dorsale-2.6.8 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.7 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.6 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.5 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.4 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.6.0 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.5.0 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.4.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.4.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.4.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.4.0 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.5 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.4 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.3.0 app/views/dorsale/alexandrie/attachments/_form.html.slim