Merge pull request #4035 from tchak/no-crash-when-no-service
Avoid crashing when demarche have no service
This commit is contained in:
commit
eaf7261e82
1 changed files with 12 additions and 11 deletions
|
@ -1,14 +1,15 @@
|
|||
.card.feedback
|
||||
.card-title
|
||||
La messagerie est désormais désactivée.
|
||||
%p
|
||||
Pour poser une question sur ce dossier, contactez :
|
||||
%p
|
||||
= service.nom
|
||||
%br
|
||||
= service.organisme
|
||||
%br
|
||||
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
|
||||
= simple_format(horaires)
|
||||
%p
|
||||
= link_to service.email, "mailto:#{service.email}"
|
||||
- if service.present?
|
||||
%p
|
||||
Pour poser une question sur ce dossier, contactez :
|
||||
%p
|
||||
= service.nom
|
||||
%br
|
||||
= service.organisme
|
||||
%br
|
||||
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
|
||||
= simple_format(horaires)
|
||||
%p
|
||||
= link_to service.email, "mailto:#{service.email}"
|
||||
|
|
Loading…
Reference in a new issue