Sha256: 516ca7ed3843cb41b2e409e5f5ddb418fc1073353101dbb9cc31a7cc2436c6d6

Contents?: true

Size: 680 Bytes

Versions: 12

Compression:

Stored size: 680 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.nostyle = t("actions.browse")

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

    .progress
      .progress-bar(
        style="width: 0%"
        role="progressbar"
        aria-valuenow=0
        aria-valuemin=0
        aria-valuemax=100
      ) = percentage(0)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dorsale-3.1.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.1.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.1.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.1.0 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.0.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.0.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.0.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-3.0.0 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.7.3 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.7.2 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.7.1 app/views/dorsale/alexandrie/attachments/_form.html.slim
dorsale-2.7.0 app/views/dorsale/alexandrie/attachments/_form.html.slim