first shot
This commit is contained in:
39
app/templates/editRegularCostForm.html
Normal file
39
app/templates/editRegularCostForm.html
Normal file
@@ -0,0 +1,39 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block body %}
|
||||
<div class="col-md-2" ></div>
|
||||
<div class="col-md-8">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
<h3>Edit Regular Cost for '{{ vehicle.name }}'</h3>
|
||||
<form class='form-horizontal' method="POST">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
{{ render_field_with_errors(form.start_at) }}
|
||||
<span id="{{form.start_at.id}}_help" class="help-block">
|
||||
{{messages['start_at']}}
|
||||
</span>
|
||||
|
||||
{{ render_field_with_errors(form.ends_at) }}
|
||||
<span id="{{form.ends_at.id}}_help" class="help-block">
|
||||
{{messages['ends_at']}}
|
||||
</span>
|
||||
|
||||
{{ render_field_with_errors(form.days) }}
|
||||
<span>Format as 'Month-Day' (e.g. 05-25) and separate with ','.</span>
|
||||
<span id="{{form.days.id}}_help" class="help-block">
|
||||
{{messages['days']}}
|
||||
</span>
|
||||
|
||||
{{ render_field_with_errors(form.costs) }}
|
||||
<span id="{{form.costs.id}}_help" class="help-block">
|
||||
{{messages['costs']}}
|
||||
</span>
|
||||
{{ render_field_with_errors(form.description) }}
|
||||
|
||||
{{ render_field_with_errors(form.submit) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user