{% extends "app_home/base.html" %}
{% load static %}
{% load i18n %}

{% block navbar_app %}
{% include 'app_home/_sidebar.html' %}
{% endblock %}

{% block title %}
<H2>{% translate 'Message Update' %}</H2>
<hr>{% endblock %}

{% block content %}


<form method="post">{% csrf_token %}

<a class="btn btn-outline-dark me-2" role="button" href="{% url 'app_sirene:detail' message.id %}">
  <i class="fa fa-backward me-2" aria-hidden="true"></i>{% translate 'Cancel' %}  
</a>


{% if 'p_sirene_update' in aaa.perms %}
<input class="btn btn-danger me-2" type="submit" value="{% translate 'Send update' %} " name="save">

{% endif %}

<hr>

<table class="table ">
{{ form.as_table }}
</table>

</form>

{% endblock %}






