Merge pull request #2008 from betagouv/fix_demande_view

ManagerDemandeView: does not bug when there is no demand
This commit is contained in:
gregoirenovel 2018-05-31 13:52:14 +02:00 committed by GitHub
commit 9c57a7f786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 %>