<%- model_class = CStavSponzorDar.new.class -%>
<div class="page-header">
  <h1>Zoznam stavov sponzorských darov</h1>
</div>
<table class="table table-striped">
  <thead>
    <tr>
<!--      <th><#%= model_class.human_attribute_name(:id) %></th> -->
<!--      <th><#%= model_class.human_attribute_name(:ID_Stav_Dar) %></th> -->
      <th><%= model_class.human_attribute_name(:Nazov) %></th>
      <th><%= model_class.human_attribute_name(:Popis) %></th>
<!--      <th><#%= model_class.human_attribute_name(:created_at) %></th> -->
<!--      <th><#%=t '.actions', :default => t("helpers.actions") %></th> -->
    </tr>
  </thead>
  <tbody>
    <% @c_stav_sponzor_dars.each do |c_stav_sponzor_dar| %>
      <tr>
<!--        <td><#%= link_to c_stav_sponzor_dar.id, c_stav_sponzor_dar_path(c_stav_sponzor_dar) %></td> -->
<!--        <td><š%= c_stav_sponzor_dar.ID_Stav_Dar %></td> -->
        <td><%= c_stav_sponzor_dar.Nazov %></td>
        <td><%= c_stav_sponzor_dar.Popis %></td>
<!--        <td><#%=l c_stav_sponzor_dar.created_at %></td> -->
        <td>
          <%= link_to 'Upraviť',
                      edit_c_stav_sponzor_dar_path(c_stav_sponzor_dar), :class => 'btn btn-mini' %>
          <%= link_to 'Vymazať',
                      c_stav_sponzor_dar_path(c_stav_sponzor_dar),
                      :method => :delete,
                      :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Ste si istý?')),
                      :class => 'btn btn-mini btn-danger' %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

<%= link_to 'Nový',
            new_c_stav_sponzor_dar_path,
            :class => 'btn btn-primary' %>
