Commit 73173102dbe4258ff7b456a7ef3de91e9018277e
1 parent
41e0ab8470
Exists in
master
se añadieron los mensajes de exito y advertencia al indice de la aplicación
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
app/Resources/views/cea/index.html.twig
| @@ -10,6 +10,14 @@ | @@ -10,6 +10,14 @@ | ||
| 10 | <div class="alert alert-danger">{{ message }}</div> | 10 | <div class="alert alert-danger">{{ message }}</div> |
| 11 | {%endfor %} | 11 | {%endfor %} |
| 12 | 12 | ||
| 13 | + {% for message in app.session.flashBag.get('success') %} | ||
| 14 | + <div class="alert alert-success">{{ message }}</div> | ||
| 15 | + {%endfor %} | ||
| 16 | + | ||
| 17 | + {% for message in app.session.flashBag.get('warning') %} | ||
| 18 | + <div class="alert alert-warning">{{ message }}</div> | ||
| 19 | + {%endfor %} | ||
| 20 | + | ||
| 13 | {% if not adscrito %} | 21 | {% if not adscrito %} |
| 14 | <div class="alert alert-info"> | 22 | <div class="alert alert-info"> |
| 15 | <button type="button" class="close" data-dismiss="alert">×</button> | 23 | <button type="button" class="close" data-dismiss="alert">×</button> |