Sha256: ead9880db8fd8e8e9af51a562eb0fd87c8a9972629e4ae0297e57165e38f0240

Contents?: true

Size: 352 Bytes

Versions: 3

Compression:

Stored size: 352 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
  = f.submit

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
family_gallery-0.0.8 app/views/family_gallery/pictures/_form.mobile.haml
family_gallery-0.0.7 app/views/family_gallery/pictures/_form.mobile.haml
family_gallery-0.0.6 app/views/family_gallery/pictures/_form.mobile.haml