Added ability to publish articles
This commit is contained in:
		
							
								
								
									
										10
									
								
								web/templates/unpublished-articles.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								web/templates/unpublished-articles.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
{{define "page-content"}}
 | 
			
		||||
<form>
 | 
			
		||||
    {{range .}}
 | 
			
		||||
    <input required id="{{.UUID}}" name="uuid" type="radio" value="{{.UUID}}" />
 | 
			
		||||
    <label for="{{.UUID}}">{{.Title}}</label>
 | 
			
		||||
    {{end}}
 | 
			
		||||
    <input type="submit" value="Auswählen" hx-post="/review-article/" hx-target="#page-content" />
 | 
			
		||||
</form>
 | 
			
		||||
<button hx-get="/hub/" hx-target="#page-content">Zurück</button>
 | 
			
		||||
{{end}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user