feat(templates): Add a shitty thread submission form
This commit is contained in:
		
							parent
							
								
									094b1e0722
								
							
						
					
					
						commit
						55b28f8136
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		| 
						 | 
					@ -10,5 +10,19 @@
 | 
				
			||||||
        <li><a href="/thread/{{ thread.id }}">{{ thread.title }}</a> (posted at {{ thread.posted }})</li>
 | 
					        <li><a href="/thread/{{ thread.id }}">{{ thread.title }}</a> (posted at {{ thread.posted }})</li>
 | 
				
			||||||
      {%- endfor %}
 | 
					      {%- endfor %}
 | 
				
			||||||
    </ul>
 | 
					    </ul>
 | 
				
			||||||
 | 
					    <hr>
 | 
				
			||||||
 | 
					    <form action="/thread" method="post">
 | 
				
			||||||
 | 
					      <div>
 | 
				
			||||||
 | 
					        <label for="title">Title:</label>
 | 
				
			||||||
 | 
					        <input type="text" id="title" name="title">
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      <div>
 | 
				
			||||||
 | 
					        <label for="body">Content:</label>
 | 
				
			||||||
 | 
					        <textarea id="body" name="body"></textarea>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      <div>
 | 
				
			||||||
 | 
					        <input type="submit" value="Submit">
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </form>
 | 
				
			||||||
  </body>
 | 
					  </body>
 | 
				
			||||||
</html>
 | 
					</html>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue