<%= form_for @recenzy, :html => { :class => 'form-horizontal' } do |f| %>
  <div class="control-group">
<!--    <#%= f.label :ID_Recenzia, :class => 'control-label' %> -->
    <div class="controls">
<!--      <#%= f.number_field :ID_Recenzia, :class => 'number_field' %> -->
    </div>
  </div>
  <div class="control-group">
    <%= f.label :Datum, :class => 'control-label' %>
    <div class="controls">
      <%= f.datetime_select :Datum, :class => 'datetime_select' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :Popis, :class => 'control-label' %>
    <div class="controls">
      <%= f.text_area :Popis, :class => 'text_area' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :Alias, :class => 'control-label' %>
    <div class="controls">
      <%= f.text_field :Alias, :class => 'text_field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label :ID_Podujatie, :class => 'control-label' %>
    <div class="controls">
      <%= f.number_field :ID_Podujatie, :class => 'number_field' %>
    </div>
  </div>

  <div class="form-actions">
    <%= f.submit 'Uložiť', :class => 'btn btn-primary' %>
    <%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                recenzies_path, :class => 'btn' %>
  </div>
<% end %>
