Skip to content
Permalink
3339c012d1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
49 lines (37 sloc) 975 Bytes
{% extends "base.html" %}
{% block navTabs %}
{% include "helpers/requestNav.html" %}
{% endblock navTabs %}
{% block content %}
<h1>Automation</h1>
<div class="section">
<p>Are you a Robot? Complete the form below</p>
</div>
<div class="section">
<form method="POST">
<div class="row">
<div class="input-field col s12">
<input id="q1" name="q1" type="text">
<label for="q1">What is {{q1}}</label>
</div>
</div>
<div class="row">
<div class="input-field col s12">
<input id="q2" name="q2" type="text" placeholder="{{q2}}">
<label for="q2">Enter the text {{ q2 }}</label>
</div>
</div>
<input type="hidden" name="csrf", value="{{ csrf }}">
<button class="btn waves-effect waves-light" type="submit" name="action">Submit</button>
</form>
</div>
{% if submitted %}
<div class="section">
{% if flag %}
{{ flag }}
{% else %}
{{ submitted }}
{% endif %}
</div>
{% endif %}
{% endblock content %}