use pp_print_list and improve code cleanliness
This commit is contained in:
parent
e262401fa9
commit
3bcc3dcefa
4 changed files with 71 additions and 85 deletions
|
|
@ -1,6 +1,7 @@
|
|||
let f ~board request =
|
||||
<script type="text/javascript" src="/assets/js/js_babillard.js" defer="defer"></script>
|
||||
<%s! Dream.form_tag ~action:(Format.sprintf "/%s/new_thread" (Babillard.string_of_board board)) ~enctype:`Multipart_form_data request %>
|
||||
%let url = Format.asprintf "/%a/new_thread" Babillard.pp_board board in
|
||||
<%s! Dream.form_tag ~action:url ~enctype:`Multipart_form_data request %>
|
||||
<input type="hidden" id="lat_input" name="lat_input">
|
||||
<input type="hidden" id="lng_input" name="lng_input">
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue