- {% include handler.template(notification) with handler.templateData(notification) %}
+
+
{{ block('title') }}
{{ form_start(form, { 'attr': { 'id': 'notification' }}) }}
- {{ form_row(form.title) }}
- {{ form_row(form.addressees) }}
- {{ form_row(form.message) }}
+ {{ form_row(form.title, { 'label': 'notification.subject'|trans }) }}
+ {{ form_row(form.addressees, { 'label': 'notification.sent_to'|trans }) }}
+
+ {% include handler.template(notification) with handler.templateData(notification) %}
+
+
+
+
+ {{ form_widget(form.message) }}
+
+
{{ form_end(form) }}
diff --git a/src/Bundle/ChillMainBundle/translations/messages.fr.yml b/src/Bundle/ChillMainBundle/translations/messages.fr.yml
index 73bbb5014..547ea2bd5 100644
--- a/src/Bundle/ChillMainBundle/translations/messages.fr.yml
+++ b/src/Bundle/ChillMainBundle/translations/messages.fr.yml
@@ -356,6 +356,8 @@ notification:
Notification: Notification
My own notifications: Mes notifications
Notify: Envoyer une notification
+ Send: Envoyer
+ Edit notification: Modifier une notification
Notification created: Notification envoyée
Any notification received: Aucune notification reçue
Any notification sent: Aucune notification envoyée
@@ -375,4 +377,5 @@ notification:
received_from: Expéditeur
you were notified by %sender%: Vous avez été notifié par %sender%
you were notified by system: Vous avez été notifié automatiquement
+ subject: Objet