Add basic form
This commit is contained in:
parent
6da103b148
commit
8b16fe573c
14 changed files with 424 additions and 11 deletions
19
schickmacher/templates/renderer/render_form.html
Normal file
19
schickmacher/templates/renderer/render_form.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block title %}{% trans "Renderer" %}{% endblock %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans "Renderer" %}</h1>
|
||||
<form class="form-horizontal" method="post" action="{% url 'renderer:form' %}">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn btn-primary">{% trans "Compile" %}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue