Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 782 Bytes
<h1>Change Fuel Price</h1>
[% IF !message %][% SET message = "Price changes will only apply to subsequent transactions." %][% END %]
[% INCLUDE message.tt %]
<p>
<form action="/fuel-price" method="POST">
<fieldset>
<legend>Enter the new fuel price</legend>
<label for="">Price per litre:</label>
<div class="input">
$<input type="text" class="xlarge" size="4" maxlength="4" name="new_price" id="new_price" value="[% current_price %]" />
</div>
<div class="actions">
<input type="submit" class="btn large primary" value="Change Price" />
<a class="btn large" href="/">Oops, go back.</a>
</div>
</fieldset>
</form>
</p>
<script>
jQuery( function () {
$("#new_price").focus();
}
);
</script>