summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-27 23:21:18 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-27 23:21:18 +0200
commit02bb7181aca0298dbc8b29ba0aeac3e07f643930 (patch)
treed8d6143d192c3ad04e2ec6d644582bf3eb5b1ea9 /views
parent8770ce790d60da984ec7bdbfac7699ca99cb640b (diff)
starting form
Diffstat (limited to 'views')
-rw-r--r--views/hootstream/templates.ejs10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/hootstream/templates.ejs b/views/hootstream/templates.ejs
index 2f6de87..194310f 100644
--- a/views/hootstream/templates.ejs
+++ b/views/hootstream/templates.ejs
@@ -64,8 +64,8 @@
<div class="image"><a href="{{link}}">[{{filename}}, {{size}}]</a></div>
</script>
-<script class="thread-form" type="text/html">
- <form>
+<script class="threadFormTemplate" type="text/html">
+ <form class="streamForm threadForm">
<input type="text" name="title" placeholder="Enter a title">
<textarea name="comment" placeholder="Add a comment"></textarea>
<div class="inputs">
@@ -78,12 +78,12 @@
</form>
</script>
-<script class="comment-form" type="text/html">
- <form>
+<script class="commentFormTemplate" type="text/html">
+ <form class="streamForm commentForm">
<textarea name="comment" placeholder="Add a comment"></textarea>
<div class="inputs">
<input name="files" type="file" multiple>
- <input type="submit" value="POST" />
+ <button>POST</button>
<div class="loader"></div>
</div>
<div class='errors'></div>