[fix #1601] accept demandes in manager
This commit is contained in:
parent
9e566596fa
commit
9eb28faa10
3 changed files with 35 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
|||
<%= key %>
|
||||
</th>
|
||||
<% end %>
|
||||
<th class="cell-label cell-label--string cell-label--false" scope="col" role="columnheader" aria-sort="none">
|
||||
</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @pending_demandes.each do |demande| %>
|
||||
|
@ -27,6 +29,11 @@
|
|||
<%= demande[key] %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td class="cell-data cell-data--string">
|
||||
<%= button_to('Créer',
|
||||
manager_demandes_create_administrateur_path,
|
||||
params: { administrateur: { email: demande[:email], person_id: demande[:person_id] } }) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue