Sha256: 6f84ca5ccd3c17efebfddd33d123cf8d3c017f801cb50829fcc1a5570b21005f

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

= simple_form_for picture do |f|
  = hidden_field_tag :group_id, params[:group_id] if params[:group_id].present?
  = f.input :title, autofocus: true
  = f.input :description
  = f.input :image, input_html: {multiple: true}
  = f.submit t("save"), class: "button"

  = link_to t("delete"), picture, class: "button-danger", method: :delete, data: {confirm: t("are_you_sure")}  unless picture.new_record?

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
family_gallery-0.0.7 app/views/family_gallery/pictures/_form.html.haml
family_gallery-0.0.6 app/views/family_gallery/pictures/_form.html.haml
family_gallery-0.0.5 app/views/family_gallery/pictures/_form.html.haml
family_gallery-0.0.4 app/views/family_gallery/pictures/_form.html.haml