colossus/views/test/add.twig

36 lines
957 B
Twig

{% extends 'layout.twig' %}
{% block title %}Add New Test{% endblock %}
{% block content %}
<div class="row">
<div class="twelve columns">
<h1>Add new test</h1>
</div>
</div>
<div class="row">
<div class="twelve columns">
<form action="{{ url_for('test.add') }}" method="POST" class="u-full-width">
<div class="row">
<div class="twelve columns">
<label for="test_name">Test name:</label>
<input type="text" id="test_name" class="u-full-width" name="test_name">
</div>
</div>
<div class="row">
<div class="twelve columns">
<label for="test_description">Description</label>
<textarea class="u-full-width" name="test_description" id="test_description" placeholder="Describe this test..."></textarea>
</div>
</div>
<input class="button button-primary u-full-width" type="submit" value="Submit">
</form>
</div>
</div>
{% endblock %}