Browse Source

Allow to configure address example

Mehdi Abaakouk 8 years ago
parent
commit
1f65cad593
2 changed files with 2 additions and 1 deletions
  1. 1 0
      README.md
  2. 1 1
      wifiwithme/apps/contribmap/templates/contribmap/wifi-form.html

+ 1 - 0
README.md

@@ -59,6 +59,7 @@ The wifi-with-me website URL (for links included in emails :)
         'SITE':'//www.faimaison.net',
         'EMAIL':'bureau (at) faimaison.net',
         'ZONE':'Nantes et environs',
+        'ADDRESS_EXAMPLE': 'rue du calvaire, nantes',
         'URL_CONTACT':'//www.faimaison.net/pages/contact.html',
         'LATITUDE':47.218371,
         'LONGITUDE':-1.553621,

+ 1 - 1
wifiwithme/apps/contribmap/templates/contribmap/wifi-form.html

@@ -82,7 +82,7 @@
       <div class="form-group col-sm-6">
         <div class="form-group form-group-lg form-inline">
           <input type="text" name="search"
-                 id="search" placeholder="rue du calvaire, nantes" class="form-control" />
+                 id="search" placeholder="{{ isp.ADDRESS_EXAMPLE }}" class="form-control" />
           <span id="search-btn" class="btn btn-default btn-lg" data-loading-text="...">Recherche</span>
 
           <div id="search-results" class=""></div>