Remove useless ids in the new Avis templates

This commit is contained in:
gregoirenovel 2017-12-15 11:26:57 +01:00
parent bf1e103ef3
commit 0a185fb76b
3 changed files with 57 additions and 60 deletions

View file

@ -1,8 +1,7 @@
- avis_statut = (@statut == NewGestionnaire::AvisController::A_DONNER_STATUS) ? 'à donner' : 'rendus'
- content_for(:title, "Avis #{avis_statut}")
#avis-index
.accompagnateur-header
.accompagnateur-header
.container.flex
.width-100
%h1.tab-title Avis
@ -19,7 +18,7 @@
avis #{'donné'.pluralize(@avis_donnes.count)}
%span.badge= @avis_donnes.count
.container
.container
- if @avis.present?
%table.table.dossiers-table.hoverable
%thead

View file

@ -1,7 +1,6 @@
- content_for(:title, "Avis · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
#avis-show
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
.container
%section.give-avis

View file

@ -1,9 +1,8 @@
- content_for(:title, "Demande · Dossier nº #{@dossier.id} (#{@dossier.owner_name})")
#avis-show
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
= render partial: 'header', locals: { avis: @avis, dossier: @dossier }
.container
.container
.tab-title Identité du demandeur
.card
- if @dossier.entreprise.present?