fix and changes

This commit is contained in:
Adrian Hinz 2022-06-15 23:11:03 +02:00
parent ba274736cd
commit 8f8937afcc
5 changed files with 8 additions and 6 deletions

View File

@ -23,10 +23,10 @@
<%= image_tag expert.avatar, height: 20 %>
<% end %>
</td>
<td><%= link_to expert.name, expert %></td>
<td><%= link_to expert.name, edit_expert_path(expert) %></td>
<td><%= expert.description %></td>
<td>
<%= link_to raw('<i class="fas fa-edit"></i> Edycja'), edit_expert_path(expert), class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-eye"></i> Pokaż'), expert, class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-trash-can"></i> Usuń'), expert, class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %>
</td>
</tr>

View File

@ -110,6 +110,7 @@
</div>
</div>
<hr />
<div class="row">
<div class="col-md-4">
<div class="form-group">

View File

@ -25,7 +25,7 @@
<tbody>
<% @dotations.each do |dotation| %>
<tr>
<td><%= link_to dotation.name, grant_path(dotation) %></td>
<td><%= link_to dotation.name, edit_grant_path(dotation) %></td>
<td><%= dotation.formal_name %></td>
<td><%= dotation.points %></td>
<td><%= dotation.date_from %></td>
@ -34,7 +34,7 @@
<%= render 'activate', dotation: dotation %>
</td>
<td>
<%= link_to raw('<i class="fas fa-edit"></i> Edycja'), edit_grant_path(dotation), class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-eye"></i> Pokaż'), edit_grant_path(dotation), class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-trash-can"></i> Usuń'), grant_path(dotation), class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %>
</td>
</tr>

View File

@ -23,10 +23,10 @@
<%= image_tag partner.logo, height: 20 %>
<% end %>
</td>
<td><%= link_to partner.name, partner %></td>
<td><%= link_to partner.name, edit_partner_path(partner) %></td>
<td><%= partner.description %></td>
<td>
<%= link_to raw('<i class="fas fa-edit"></i> Edycja'), edit_partner_path(partner), class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-eye"></i> Pokaż'), partner, class: 'btn-sm btn-info' %>
<%= link_to raw('<i class="fas fa-trash-can"></i> Usuń'), partner, class: 'btn-sm btn-danger', method: :delete, data: { confirm: 'Czy na pewno?' } %>
</td>
</tr>

View File

@ -39,6 +39,7 @@ pl:
start_date_always: Nabór w trybie ciągłym
end_date_always: Nabór w trybie ciągłym
ann_date_always: Nabór w trybie ciągłym
expenses: Wydatki
tags: Tagi
full_descr: Pełny opis dotacji
positioning_text: Tekst pozycjonujący