<%- model_class = @videa.class -%>
<div class="page-header">
  <h1>Záznam súboru</h1>
</div>

<dl class="dl-horizontal">
<!--  <dt><strong><#%= model_class.human_attribute_name(:ID_Video) %>:</strong></dt> -->
<!--  <dd><#%= @videa.ID_Video %></dd> -->
  <dt><strong><%= model_class.human_attribute_name(:Popis) %>:</strong></dt>
  <dd><%= @videa.Popis %></dd>
  <dt><strong><%= model_class.human_attribute_name(:Datum_Vlozenia) %>:</strong></dt>
  <dd><%= @videa.Datum_Vlozenia %></dd>
  <dt><strong><%= model_class.human_attribute_name(:Nazov_Suboru) %>:</strong></dt>
  <dd><%= @videa.Nazov_Suboru %></dd>
  <dt><strong><%= model_class.human_attribute_name(:ID_Klient) %>:</strong></dt>
  <dd><%= @videa.klienti.Meno + ' ' +  @videa.klienti.Priezvisko %></dd>
</dl>

<div class="form-actions">
  <%= link_to 'Späť',
              videas_path, :class => 'btn'  %>
  <%= link_to 'Upraviť',
              edit_videa_path(@videa), :class => 'btn' %>
  <%= link_to 'Vymazať',
              videa_path(@videa),
              :method => 'delete',
              :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Ste si istý?')),
              :class => 'btn btn-danger' %>
</div>
