Refactoring

This commit is contained in:
2015-02-01 17:56:09 +00:00
parent 08f95dcb99
commit 971b37c4d2
14 changed files with 240 additions and 164 deletions

View File

@@ -15,7 +15,23 @@
{{ form.description.label }}
{{ form.description(size=20, class='form-control') }}
</div>
<div class="form-group">
{{ form.duration.label }}
{{ form.duration(size=20, class='form-control') }}
</div>
<div class="form-group">
{{ form.status_id.label }}
{{ form.status_id(class='form-control') }}
</div>
<div class="form-group">
{{ form.notes.label }}
{{ form.notes(class='form-control') }}
</div>
<input class="btn btn-default" type="submit" value="Edit Shot">
<div class="pull-right">
<a class="btn btn-default" href="{{url_for('shots.index')}}">Cancel</a>
<a class="btn btn-danger" href="{{url_for('shots.delete', shot_id=shot_id)}}">Delete</a>
</div>
</form>
</div>
</div>