mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 11:59:23 +00:00
Add new club view
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<h2>Edit club properties</h2>
|
||||
<form action="{{ url('club:club_prop', club_id=club.id) }}" method="post">
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p() }}
|
||||
<p><input type="submit" value="Save!" /></p>
|
||||
|
@ -17,6 +17,9 @@
|
||||
{%- endmacro %}
|
||||
|
||||
{% block content %}
|
||||
{% if user.is_superuser or user.is_in_group(settings.SITH_GROUPS['root']['name']) %}
|
||||
<p><a href="{{ url('club:club_new') }}">New club</a></p>
|
||||
{% endif %}
|
||||
{% if club_list %}
|
||||
<h3>Club list</h3>
|
||||
<ul>
|
||||
|
Reference in New Issue
Block a user