diff options
-rw-r--r-- | templates/web/fixmystreet/around/postcode_form.html | 12 | ||||
-rw-r--r-- | web/cobrands/fixmybarangay/base.scss | 4 |
2 files changed, 10 insertions, 6 deletions
diff --git a/templates/web/fixmystreet/around/postcode_form.html b/templates/web/fixmystreet/around/postcode_form.html index 3b63a52d4..2561a7710 100644 --- a/templates/web/fixmystreet/around/postcode_form.html +++ b/templates/web/fixmystreet/around/postcode_form.html @@ -14,24 +14,24 @@ question = c.cobrand.enter_postcode_text || loc('Enter a nearby street name and area'); %] - <form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm"> [% IF c.cobrand.moniker == 'fixmybarangay' %] - <p> + <p id="barangay_buttons"> <a href="/around?latitude=10.322;longitude=123.907" class="yellow-btn">Bgy. Luz</a> <a href="/around?latitude=10.288;longitude=123.870" class="yellow-btn">Bgy. Basak San Nicolas</a> </p> [% ELSE %] + <form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm"> <label for="pc">[% question %]:</label> <div> <input type="text" name="pc" value="[% pc | html %]" id="pc" size="10" maxlength="200" placeholder="[% tprintf(loc('e.g. ā%sā or ā%sā'), c.cobrand.example_places) %]"> <input type="submit" value="[% loc('Go') %]" id="submit"> </div> - [% END %] - [% IF partial_token %] - <input type="hidden" name="partial" value="[% partial_token.token %]"> - [% END %] + [% IF partial_token %] + <input type="hidden" name="partial" value="[% partial_token.token %]"> + [% END %] </form> + [% END %] </div> </div> diff --git a/web/cobrands/fixmybarangay/base.scss b/web/cobrands/fixmybarangay/base.scss index 2963d2454..c0e1fd165 100644 --- a/web/cobrands/fixmybarangay/base.scss +++ b/web/cobrands/fixmybarangay/base.scss @@ -17,6 +17,10 @@ background:url(/cobrands/fixmybarangay/images/ie_front_logo.gif) 0 0 no-repeat; } +#barangay_buttons { + padding: 1em; +} + .yellow-btn, a.yellow-btn, button.yellow-btn, |