Sha256: c3fdbbaa3956230292ea4828ee0d3ddce316d2b0863ea405b837d77f9c1c7316

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 Bytes

Contents

<%= form_for @drink, :as => :drink do |f| %>

<%= f.hidden_field :user_id %>
<%= f.hidden_field :beer_id %>

<table>
  <tr>
<td valgin='top'>
  <%= f.label :rating, 'Note (1-10)' %><br/>
  <%= f.text_field :rating, size: 1, data: { autofocus: true }, style: 'font-size: 1000%; max-width: 200px;' %>
</td>
<td valign='top'>

  <%= f.label :comments, 'Notizen' %><br/>
  <%= f.text_area :comments, rows: 8, cols: 80 %><br/>

  <%= f.label :place, 'Wo?' %> (z.B. Dahoam, O'Connors, usw.)<br/>
  <%= f.text_field :place %>
</td>
  </tr>
</table>

<div>
  <%= f.submit 'Speichern', :class => 'btn-primary' %>
  <%= link_to 'Zurück', :back, :class => 'btn' %>
</div>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beerdb-admin-0.1.1 app/views/beer_db_admin/drinks/_form.html.erb
beerdb-admin-0.1.0 app/views/beer_db_admin/drinks/_form.html.erb
beerdb-admin-0.0.1 app/views/beer_db_admin/drinks/_form.html.erb