-
Notifications
You must be signed in to change notification settings - Fork 19
/
idea_moderate_form.html
52 lines (46 loc) · 2.36 KB
/
idea_moderate_form.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{% extends "base.html" %}
{% load i18n %}
{% block title %}{{ object.name }} — {% translate 'Give feedback' %}{% endblock %}
{% block content %}
<div class="u-bg-light py-5">
<div class="container container--shadow">
<div class="row">
<div class="col-md-10 col-lg-8 offset-md-1 offset-lg-2 pt-5">
<div class="row py-4">
<div class=" col-sm-3 offset-sm-9 position-relative header-lower__position--right">
{% include 'header_lower.html' with organisation=module.project.organisation %}
</div>
</div>
<nav class="breadcrumbs" aria-label="{% translate 'breadcrumbs' %}">
<ul>
<li>
<a href="{{ module.get_detail_url }}">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
{% translate 'go back' %}</a>
</li>
<li>
<a href="{{ object.get_absolute_url }}">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
{% translate 'back to idea' %}</a>
</li>
</ul>
</nav>
<h1>{% translate 'Feedback on this idea' %}</h1>
<form novalidate enctype="multipart/form-data" action="{{ request.path }}" method="post">
{% csrf_token %}
{% for form in forms.values %}
{{ form.media }}
{% endfor %}
{% include 'a4_candy_contrib/includes/form_field.html' with field=forms.moderateable.moderator_status %}
{% include 'a4_candy_contrib/includes/form_field.html' with field=forms.feedback_text.feedback_text %}
<div class="d-flex justify-content-end mb-3">
<a href="{{ object.get_absolute_url }}" class="btn btn--secondary me-2">{% translate 'Cancel' %}</a>
<button type="submit" class="btn btn--primary">{% translate 'Save' %}</button>
</div>
</form>
</div>
</div>
{% include 'footer_upper.html' with organisation=module.project.organisation %}
</div>
</div>
{% endblock %}