tap/app/views/shared/_order_form.html.erb

7 lines
251 B
Text
Raw Normal View History

2014-11-10 02:30:42 +01:00
<%= 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 %>