Sha256: c93bd9347a377f57bcbc469493b54d5f2f642285581e2744e16214c16c6a28a6
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
= f.input :value, label: f.object.identifier, hint: f.object.hint, placeholder: f.object.placeholder, required: f.object.required do - if f.object.value_uid.present? p= link_to "#{f.object.value.name} (#{number_to_human_size f.object.value.size})", f.object.value.url, "data-skip-pjax" => true - unless f.object.required = f.input :remove_value, as: :boolean, inline_label: "Delete file?", label: false, :wrapper => :default = f.hidden_field :retained_value = f.input_field :value, as: :file
Version data entries
3 entries across 3 versions & 1 rubygems