mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
8 lines
209 B
ERB
8 lines
209 B
ERB
<h2>Create new rating</h2>
|
|
|
|
<%= form_for(@rating) do |f| %>
|
|
<%= f.select :beer_id, options_from_collection_for_select(@beers, :id, :to_s) %>
|
|
score: <%= f.number_field :score %>
|
|
<%= f.submit %>
|
|
<% end %>
|