DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: ff544f59bbafbaa4830d3c07dac049e8db6f4310 tixe/template/templates/settings.tmpl -rw-r--r-- 543 bytes
ff544f59Jonni Liljamo feat: some reworks and the first real interaction 1 year, 29 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
{{ define "content" }}
<form class="flex flex-col" action="/api/settings/user/display_name" method="POST">
	<p class="text-sm" for="display_name">Display Name</p>
	<div class="flex gap-2">
		<input class="w-full p-1 border-2 rounded-md placeholder-slate-800 focus:outline-none" type="text" placeholder="{{ .user.DisplayName }}" name="display_name" id="display_name"/>
		<button class="w-fit p-1 border-2 rounded-md drop-shadow-md bg-slate-50 hover:bg-slate-200 transition-colors" type="submit">
			Update
		</button>
	</div>
</form>
{{ end }}