{% extends 'panel.html' %}

{% load bootstrap_tags %}
{% load static from staticfiles %}

{% block head_title %}Message project members{% endblock %}

{% block panel_content %}
<p>
  Use the form below to message members of your project.
</p>

<div class="row pad-all-sides">
  <form class="form-vertical" role="form" method="post"
    action="." id="message-members-form">

    {% csrf_token %}

    {{ form|as_bootstrap }}

    <input id="message-members" type="submit"
      value="Send messages"
      form="message-members-form" class="btn btn-default">
  </form>
</div>
{% endblock %}

{% extends 'panel.html' %}

{% load bootstrap_tags %}
{% load static from staticfiles %}

{% block head_title %}Message project members{% endblock %}

{% block panel_content %}

<h4>Project: {{object.name}}</h4>

<p>
  Use the form below to message members of your project.
</p>

<div class="row pad-all-sides">
  <form class="form-vertical" role="form" method="post" rel="persist"
    action="." id="message-members-form">

    {% csrf_token %}

    {{ form|as_bootstrap }}

    <input id="message-members" type="submit"
      value="Send messages"
      form="message-members-form" class="btn btn-default">
  </form>
</div>
{% endblock %}

Add form data persistence and project name
Add form data persistence and project name
