<%= form_for(:model) do |form| %>    <!-- řádek 1 -->
<p>
  <%= form.label :input, 'Vstup' %>
  <%= form.text_field :input, :placeholder => 'Sem zadejte text...' %>
</p>                                 <!-- řádek 5 -->

<p>
  <%= form.label :address, 'Adresa', :style => 'float: left' %>
  <%= form.text_area :address, :rows => 3, :cols => 40 %>
</p>                                 <!-- řádek 10 -->

<p>
  <%= form.label :color, 'Barva' %>:
  <%= form.radio_button :color, 'red' %>
  <%= form.label :red, 'Červená' %>  <!-- řádek 15 -->
  <%= form.radio_button :color, 'yellow' %>
  <%= form.label :yellow, 'Žlutá' %>
  <%= form.radio_button :color, 'green' %>
  <%= form.label :green, 'Zelená' %>
</p>                                 <!-- řádek 20 -->

<p>
  <%= form.label 'Ochucovadla' %>:
  <%= form.check_box :ketchup %>
  <%= form.label :ketchup, 'Kečup' %><!-- řádek 25 -->
  <%= form.check_box :mustard %>
  <%= form.label :mustard, 'Hořčice' %>
  <%= form.check_box :mayonnaise %>
  <%= form.label :mayonnaise, 'Majonéza' %>
</p>                                 <!-- řádek 30 -->

<p>
  <%= form.label :priority, 'Priorita' %>:
  <%= form.select :priority, (1..10) %>
</p>                                 <!-- řádek 35 -->

<p>
  <%= form.label :start, 'Začátek' %>:
  <%= form.date_select :start %>
</p>                                 <!-- řádek 40 -->

<p>
  <%= form.label :alarm, 'Budík' %>:
  <%= form.time_select :alarm %>
</p>                                 <!-- řádek 45 -->
<% end %> 
