fix unclosed div and wrong input fields

This commit is contained in:
pena 2022-04-06 01:24:52 +02:00 committed by Swrup
parent 64d9182fea
commit 2480712742

View file

@ -18,38 +18,37 @@ let f request =
<%s! new_thread_button %> <%s! new_thread_button %>
</div> </div>
<div class="col-lg-6 col-md-12"> <div class="col-lg-6 col-md-12">
<div class="thread-preview on" id="thread-preview"></div>
<div class="thread-preview on" id="thread-preview"></div> <div class="new-thread off" id="new-thread">
<h2>New thread</h2>
<div class="new-thread off" id="new-thread"> <span id="new-thread-info">
<h2>New thread</h2>
<span id="new-thread-info">
Click the map and make a new thread: Click the map and make a new thread:
</span> </span>
<br /> <br />
<div class="postForm"> <div class="postForm">
<%s! Dream.form_tag ~action:"/" ~enctype:`Multipart_form_data request %> <%s! Dream.form_tag ~action:"/" ~enctype:`Multipart_form_data request %>
<input type="hidden" id="lat-input" name="lat-input"> <input type="hidden" id="lat-input" name="lat-input">
<input type="hidden" id="lng-input" name="lng-input"> <input type="hidden" id="lng-input" name="lng-input">
<label for="subject" id="subject-label" class="form-label">Subject</label> <label for="subject" id="subject-label" class="form-label">Subject</label>
<input name="subject" type="text" class="form-control" id="subject" aria-labelledby="subject-label"></input> <input name="subject" type="text" class="form-control" id="subject" aria-labelledby="subject-label" />
<br /> <br />
<label for="thread-comment" id="thread-comment-label" class="form-label">Comment</label> <label for="thread-comment" id="thread-comment-label" class="form-label">Comment</label>
<textarea name="thread-comment" type="text" class="form-control" id="thread-comment" aria-labelledby="thread-comment-label"></textarea> <textarea name="thread-comment" type="text" class="form-control" id="thread-comment" aria-labelledby="thread-comment-label"></textarea>
<br /> <br />
<label for="tags" id="tags-label" class="form-label">Tags</label> <label for="tags" id="tags-label" class="form-label">Tags</label>
<%s! Format.asprintf "%a" Pp_babillard.pp_checkboxes () %> <%s! Format.asprintf "%a" Pp_babillard.pp_checkboxes () %>
<input name="tags" type="text" class="form-control" id="tags" aria-labelledby="tags-label"></input> <input name="tags" type="text" class="form-control" id="tags" aria-labelledby="tags-label" />
<br /> <br />
<label for="file" id="file-label" class="form-label">Picture:</label> <label for="file" id="file-label" class="form-label">Picture:</label>
<input id="file" name="file" aria-describedby="file-label" type="file" accept="image/png,image/jpeg,image/webp"> <input id="file" name="file" aria-describedby="file-label" type="file" accept="image/png,image/jpeg,image/webp">
<br /> <br />
<label for="alt" id="alt-label" class="form-label">Image description:</label> <label for="alt" id="alt-label" class="form-label">Image description:</label>
<input name="alt" type="text" class="form-control" id="alt" aria-labelledby="alt-label"></input> <input name="alt" type="text" class="form-control" id="alt" aria-labelledby="alt-label" />
<br /> <br />
<button type="submit" class="btn btn-primary" id="submit-new-thread-button" disabled>Make Thread</button> <button type="submit" class="btn btn-primary" id="submit-new-thread-button" disabled>Make Thread</button>
</form> </form>
</div>
</div> </div>
</div> </div>
</div> </div>