edit_twit_mysql.html 791 Bytes
Newer Older
danmcquillan's avatar
danmcquillan committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "base.html" %}
{% block body %}

<div class="jumbotron">

<div >
	<form class="form-horizontal" method="post" action="/edit_twit">
    {{ form.csrf_token }}
    <div class='form-group'>
        <div class='col-md-6'>
            {% if form.twit.errors %}
                <ul class='errors'> 
                    {% for error in form.twit.errors %}
                        <li>{{ error }}</li>
                    {% endfor %}
                </ul>
            {% endif %}
            {{ form.twit(class='form-control') }}
        </div>
     </div>
	<div>
		{{ form.twit_id }}
	</div>
    <div class='form-group'>
        <div class='col-md-6'>
            {{ form.submit(class='btn btn-primary btn-block') }}
        </div>
    </div>
    </form>
</div>

</div>


{% endblock %}