parsley/app/views/recipes/_form.html.erb

12 lines
289 B
Plaintext
Raw Normal View History

2016-01-13 17:10:43 -06:00
<%= form_for(@recipe, {html: {class: 'recipe-form'}}) do |f| %>
2016-01-12 18:43:00 -06:00
<%= render partial: 'shared/error_list', locals: {model: @recipe} %>
2016-07-27 22:30:57 -05:00
<%= render partial: 'editor', locals: {f: f} %>
2016-01-13 17:10:43 -06:00
<br/><br/>
2016-01-12 18:43:00 -06:00
<div class="actions">
<%= f.submit class: 'btn btn-primary' %>
</div>
<% end %>