Selaa lähdekoodia

template for search address

mk200789 10 vuotta sitten
vanhempi
commit
8a16d442fa
1 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa
  1. 18 0
      hackathon_starter/hackathon/templates/hackathon/instagram_q.html

+ 18 - 0
hackathon_starter/hackathon/templates/hackathon/instagram_q.html

@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+	{% include 'hackathon/base.html' %}
+	<h1 class="text-center"> {{ title }}</h1> 
+	<br>
+		<form class="form-inline" method='get' action="/hackathon/instagramMediaByLocation/">
+		  <div class="form-group">
+		    <label for="address">Address </label>
+		    <input type="text" name="address_field" class="form-control" placeholder="">
+		  </div>
+		  <button type="submit" class="btn btn-default">Search</button>
+		</form>
+	</div>
+	{% if geocode_result %}
+	{{geocode_result}}
+	{% endif %}
+</html>