fix and changes
This commit is contained in:
parent
ba274736cd
commit
8f8937afcc
|
|
@ -23,10 +23,10 @@
|
||||||
<%= image_tag expert.avatar, height: 20 %>
|
<%= image_tag expert.avatar, height: 20 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td><%= link_to expert.name, expert %></td>
|
<td><%= link_to expert.name, edit_expert_path(expert) %></td>
|
||||||
<td><%= expert.description %></td>
|
<td><%= expert.description %></td>
|
||||||
<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?' } %>
|
<%= 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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<hr />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
<tbody>
|
<tbody>
|
||||||
<% @dotations.each do |dotation| %>
|
<% @dotations.each do |dotation| %>
|
||||||
<tr>
|
<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.formal_name %></td>
|
||||||
<td><%= dotation.points %></td>
|
<td><%= dotation.points %></td>
|
||||||
<td><%= dotation.date_from %></td>
|
<td><%= dotation.date_from %></td>
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<%= render 'activate', dotation: dotation %>
|
<%= render 'activate', dotation: dotation %>
|
||||||
</td>
|
</td>
|
||||||
<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?' } %>
|
<%= 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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,10 @@
|
||||||
<%= image_tag partner.logo, height: 20 %>
|
<%= image_tag partner.logo, height: 20 %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<td><%= link_to partner.name, partner %></td>
|
<td><%= link_to partner.name, edit_partner_path(partner) %></td>
|
||||||
<td><%= partner.description %></td>
|
<td><%= partner.description %></td>
|
||||||
<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?' } %>
|
<%= 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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ pl:
|
||||||
start_date_always: Nabór w trybie ciągłym
|
start_date_always: Nabór w trybie ciągłym
|
||||||
end_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
|
ann_date_always: Nabór w trybie ciągłym
|
||||||
|
expenses: Wydatki
|
||||||
tags: Tagi
|
tags: Tagi
|
||||||
full_descr: Pełny opis dotacji
|
full_descr: Pełny opis dotacji
|
||||||
positioning_text: Tekst pozycjonujący
|
positioning_text: Tekst pozycjonujący
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue