tap/app/views/shared/_order_form.html.erb
2014-11-10 02:30:42 +01:00

7 lines
No EOL
251 B
Text

<%= form_for(@order) do |f| %>
<%= render 'shared/error_messages', object: f.object %>
<div class="field">
<%= f.text_area :products, placeholder: "Compose new order..." %>
</div>
<%= f.submit "Order", class: "btn btn-primary" %>
<% end %>