DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: ce2cabfb0af53015630df7c353f1307783aa39e0 tixe/template/templates/settings.tmpl -rw-r--r-- 543 bytes
ce2cabfbJonni Liljamo feat: tags link, username group width fix 1 year, 27 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 }}