Shot create renamed to add

This commit is contained in:
2014-05-19 00:10:08 +02:00
parent 08f95dcb99
commit bf4399e5b3
4 changed files with 49 additions and 42 deletions

View File

@@ -2,10 +2,10 @@
{% block body %}
<div class="col-md-9">
<h2>Create shot</h2>
<h2>Add shot</h2>
<div class="row">
<div class="col-md-6">
<form method="POST" action="{{url_for('shots.create')}}">
<form method="POST" action="{{url_for('shots.add')}}">
{{ form.hidden_tag() }}
<div class="form-group">
{{ form.name.label }}
@@ -15,7 +15,7 @@
{{ form.description.label }}
{{ form.description(size=20, class='form-control') }}
</div>
<input class="btn btn-default" type="submit" value="Create Shot">
<input class="btn btn-default" type="submit" value="Add Shot">
</form>
</div>
</div>

View File

@@ -48,7 +48,7 @@
</div>
<div class="row">
<div class="col-md-12">
<a href="{{url_for('shots.create')}}" class="btn btn-default">Create</a>
<a href="{{url_for('shots.add')}}" class="btn btn-default">Add</a>
</div>
</div>
</div>