<%= form_for @videa, :html => { :class => 'form-horizontal' } do |f| %>
  <div class="control-group">
<!--    <#%= f.label :ID_Video, :class => 'control-label' %> -->
    <div class="controls">
<!--      <#%= f.number_field :ID_Video, :class => 'number_field' %> -->
    </div>
  </div>
  <div class="control-group">
    <%= f.label :Popis, :class => 'control-label' %>
    <div class="controls">
      <%= f.text_field :Popis, :class => 'text_field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label 'Dátum vloženia', :class => 'control-label' %>
    <div class="controls">
      <%= f.date_select :Datum_Vlozenia, :class => 'date_select' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label 'Názov súboru', :class => 'control-label' %>
    <div class="controls">
      <%= f.text_field :Nazov_Suboru, :class => 'text_field' %>
    </div>
  </div>
  <div class="control-group">
    <%= f.label 'Meno klienta', :class => 'control-label' %>
    <div class="controls">
		<%= select("videa", "ID_Klient", Klienti.all.map {|p| [ p.Meno + ' ' + p.Priezvisko, p.ID_Klient ] }, { :include_blank => true }) %>
    </div>
  </div>

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