Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Clean up alert. Start scaffolding for type-ahead.

  • Loading branch information...
commit 26ff61c4be2c5222d36cff3d1d169fe39adcf9fd 1 parent 1aaeebe
Dave Cross authored June 01, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  PoliticalWeb/views/index.tt
4  PoliticalWeb/views/index.tt
@@ -4,13 +4,13 @@
4 4
   <p>What does the web know about your MP?</p>
5 5
   <p>Start by entering your details below.</p>
6 6
 [% IF error -%]
7  
-  <p class="alert alert-error">[% error %] does not exist. Please try again.</p>
  7
+  <div class="alert alert-error"><button type="button" class="close" data-dismiss="alert">&times;</button>[% error %] does not exist. Please try again.</div>
8 8
 [% END -%]
9 9
   <form action="/">
10 10
     <fieldset>
11 11
     <input id="pc" class="span2" name="pc" placeholder="enter postcode" />
12 12
     or
13  
-    <input id="constit" name="constit" placeholder="enter constituency name" />
  13
+    <input id="constit" name="constit" placeholder="enter constituency name" autocomplete="off" data-provide="typeahead" />
14 14
     <button class="btn btn-small btn-primary">Search</button>
15 15
     </fieldset>
16 16
   </form>

0 notes on commit 26ff61c

Please sign in to comment.
Something went wrong with that request. Please try again.