app/views/recipes/_form.html.erb
<%= render partial: "shared/errors" %>
<%= form_for @recipe do |form| %>
<div class="form-group">
<%= form.label :name %>
<%= form.text_field :name, class: 'form-control' %>
</div>
<div class="form-group">
<%= form.label :description %>
<%= form.text_area :description, class: 'form-control' %>
</div>
<div class="actions">
<%= form.submit class: 'btn btn-primary' %>
</div>
<% end %>