forked from jason/cpolis
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			709 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			709 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{define "page-content"}}
 | 
						|
<form>
 | 
						|
    <div>
 | 
						|
        <input name="username" type="text" value="{{.UserName}}" />
 | 
						|
        <input name="first-name" type="text" value="{{.FirstName}}" />
 | 
						|
        <input name="last-name" type="text" value="{{.LastName}}" />
 | 
						|
    </div>
 | 
						|
 | 
						|
    <div>
 | 
						|
        <input name="old-password" placeholder="Altes Passwort" type="password" />
 | 
						|
        <input name="password" placeholder="Neues Passwort" type="password" />
 | 
						|
        <input name="password2" placeholder="Wiederholen" type="password" />
 | 
						|
    </div>
 | 
						|
 | 
						|
    <input type="submit" value="Aktualisieren" hx-post="/update-user/" hx-target="#page-content" />
 | 
						|
</form>
 | 
						|
 | 
						|
<button hx-get="/hub/" hx-target="#page-content">Abbrechen</button>
 | 
						|
{{end}}
 |