new-app.html 788 Bytes
Newer Older
1
2
3
4
5
6
7
{% extends 'layout.html' %}

{% block title %} Create application: {% endblock %}

{% block content %}

<div class="row">
Vladislav Rykov's avatar
Vladislav Rykov committed
8
	<div class="col-md-6 col-md-offset-3">
Vladislav Rykov's avatar
Vladislav Rykov committed
9
10
		<h2> New application </h2>
		<br><br>
11
12
13
		<form action="app" method="post">
			<div class="form-group">
				<label>Name:</label><br>
Vladislav Rykov's avatar
Vladislav Rykov committed
14
				<input type="text" class="form-control" id="appname" name="appname"><br>
15
16
17
			</div>
			<div class="form-group">
				<label>Description:</label><br>
Vladislav Rykov's avatar
Vladislav Rykov committed
18
				<textarea id="appdesc" class="form-control" name="appdesc" rows="5"></textarea>
19
			</div>
Vladislav Rykov's avatar
Vladislav Rykov committed
20
			<br>
21
22
23
24
25
26
27
28
29
30
31
32
33
			<div class="form-group">
				<button type="submit" class="btn btn-primary">Create</button>
			</div>

			{% if feedback %}
			<p class="text-danger float-right">{{ feedback }}</p>
			{% endif %}
		</form>
	</div>
</div>

{% endblock %}