add click event on map
This commit is contained in:
parent
407413654c
commit
c3b5a9c194
4 changed files with 72 additions and 38 deletions
|
|
@ -1,7 +1,10 @@
|
|||
let f nick request =
|
||||
<%s Format.sprintf "Add a plant to your Collection %s !" nick %>
|
||||
<div class="mb-3">
|
||||
<div id="map"></div>
|
||||
<%s! Dream.form_tag ~action:"/add_plant" ~enctype:`Multipart_form_data request %>
|
||||
<input type="hidden" id="lat_lng" name="lat_lng" value="THIS IS NOT WORKING">
|
||||
|
||||
<label for="tags" class="form-label">Tags</label>
|
||||
<textarea name="tags" type="text" class="form-control" id="tags" aria-describedby="tagsHelp"></textarea>
|
||||
<div id="tagsHelp" class="form-text">Describe your plant with tags</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue