Sha256: f5d7179560dc8a23995361e23b6ce4ff7dcfeacca7f75843c43c941b12d231f0

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

-# frozen_string_literal: true
= simple_form_for(@ingredient, url: (@ingredient.new_record? ? ingredients_path : ingredient_path(@ingredient.id))) do |f|
  = f.input :name
  = f.input :description
  = f.input :aisle
  = f.input :store
  = f.input :cost
  .actions= f.button :submit, class: 'button-large button-action'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cookbook-0.1.6 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.5 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.4 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.3 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.2 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.1 spec/dummy/app/views/ingredients/_form.html.haml
cookbook-0.1.0 spec/dummy/app/views/ingredients/_form.html.haml