Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean up alert. Start scaffolding for type-ahead.

  • Loading branch information...
commit 26ff61c4be2c5222d36cff3d1d169fe39adcf9fd 1 parent 1aaeebe
@davorg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 PoliticalWeb/views/index.tt
View
4 PoliticalWeb/views/index.tt
@@ -4,13 +4,13 @@
<p>What does the web know about your MP?</p>
<p>Start by entering your details below.</p>
[% IF error -%]
- <p class="alert alert-error">[% error %] does not exist. Please try again.</p>
+ <div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button>[% error %] does not exist. Please try again.</div>
[% END -%]
<form action="/">
<fieldset>
<input id="pc" class="span2" name="pc" placeholder="enter postcode" />
or
- <input id="constit" name="constit" placeholder="enter constituency name" />
+ <input id="constit" name="constit" placeholder="enter constituency name" autocomplete="off" data-provide="typeahead" />
<button class="btn btn-small btn-primary">Search</button>
</fieldset>
</form>
Please sign in to comment.
Something went wrong with that request. Please try again.