39 lines
		
	
	
		
			1004 B
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1004 B
		
	
	
	
		
			HTML
		
	
	
	
| {% extends "base.html" %}
 | |
| {% load i18n %}
 | |
| {% load crispy_forms_tags %}
 | |
| 
 | |
| 
 | |
| {% block head-open-graph %}
 | |
|   <meta property="og:title" content="New request made" />
 | |
|   <meta property="og:type" content="website" />
 | |
|   <meta property="og:url" content="{{ request_detail.get_absolute_url }}" />
 | |
|   <meta property="og:image" content="https://maidstone-hackspace.org.uk/static/images/android-chrome-192x192.png" />
 | |
| {% endblock head-open-graph %}
 | |
| 
 | |
| {% block content %}
 | |
|   <h2>{{request_detail.title}}</h2>
 | |
| 
 | |
|   <div class="row">
 | |
|     <div class="col">
 | |
|       {{request_detail.description}}
 | |
|     </div>
 | |
|   </div>
 | |
| 
 | |
|   {% for comment in request_comments %}
 | |
|   <b>{{ comment.user }}</b>
 | |
|   <p>{{ comment.comment }}</p>
 | |
|   {% endfor %}
 | |
|   <br />
 | |
|   <br />
 | |
|   <br />
 | |
|   <p>Add comments below</p>
 | |
|   {% if form %}
 | |
|     <form method="POST" action="{% url 'requests_detail_form' request_detail.id %}" class="requests_detail_form">
 | |
|       {% csrf_token %}
 | |
|       {% include "partials/form.html" %}
 | |
|     </form>
 | |
|   {% endif %}
 | |
| 
 | |
| {% endblock content %}
 | |
| 
 |