pull action buttons right

This commit is contained in:
James Tauber 2012-08-03 00:41:42 -04:00
parent da9db62b9a
commit 61fa1d399b

View file

@ -5,10 +5,7 @@
{% block head_title %}{{ team.name }}{% endblock %} {% block head_title %}{{ team.name }}{% endblock %}
{% block body %} {% block body %}
<h1>{{ team.name }}{% if state %} <span class="label">{{ state }}</span>{% endif %}</h1> <div class="pull-right">
{% if team.description %}<p>{{ team.description }}</p>{% endif %}
{% if can_join %} {% if can_join %}
<form method="post" action="{% url team_join team.slug %}"> <form method="post" action="{% url team_join team.slug %}">
{% csrf_token %} {% csrf_token %}
@ -29,6 +26,11 @@
<input type="submit" class="btn btn-primary" value="apply"> <input type="submit" class="btn btn-primary" value="apply">
</form> </form>
{% endif %} {% endif %}
</div>
<h1>{{ team.name }}{% if state %} <span class="label">{{ state }}</span>{% endif %}</h1>
{% if team.description %}<p>{{ team.description }}</p>{% endif %}
{% if user.is_staff or state == "manager" %} {% if user.is_staff or state == "manager" %}
{% if team.managers %} {% if team.managers %}