Merge pull request #2008 from betagouv/fix_demande_view
ManagerDemandeView: does not bug when there is no demand
This commit is contained in:
commit
9c57a7f786
1 changed files with 50 additions and 46 deletions
|
@ -8,6 +8,7 @@
|
|||
</h1>
|
||||
</header>
|
||||
|
||||
<% if @pending_demandes.present? %>
|
||||
<section class="main-content__body main-content__body--flush">
|
||||
<table>
|
||||
<thead>
|
||||
|
@ -59,3 +60,6 @@
|
|||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
<% else %>
|
||||
<h1>Aucune demande</h1>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue