Sha256: 61d155f996d24ff61467126b2de223cd0ac964f6db90bdd8ca65646ab871efe7

Contents?: true

Size: 329 Bytes

Versions: 7

Compression:

Stored size: 329 Bytes

Contents

-# frozen_string_literal: true
= simple_form_for(@recipe, url: (@recipe.new_record? ? recipes_path : recipe_path(@recipe.id))) do |f|
  = f.input :name
  = f.input :description
  = f.input :serves
  = f.input :meal
  = f.input :instructions
  = cookbook_fields f
  .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/recipes/_form.html.haml
cookbook-0.1.5 spec/dummy/app/views/recipes/_form.html.haml
cookbook-0.1.4 spec/dummy/app/views/recipes/_form.html.haml
cookbook-0.1.3 spec/dummy/app/views/recipes/_form.html.haml
cookbook-0.1.2 spec/dummy/app/views/recipes/_form.html.haml
cookbook-0.1.1 spec/dummy/app/views/recipes/_form.html.haml
cookbook-0.1.0 spec/dummy/app/views/recipes/_form.html.haml