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