clubmanager/templates/shows.rs.html

22 lines
696 B
HTML

@use super::base_html;
@use super::components::return_to_main_html;
@(shift_id: u32)
@:base_html({
<div hx-swap="outerHTML" hx-target="this" class="h-full">
<div class="fixed right-0 top-0 pr-4 pt-4">
@:return_to_main_html()
</div>
<form hx-post="/api/drinks" class="h-full flex items-center justify-center gap-28">
<input type="hidden" id="shift" name="shift" value="@shift_id" />
<button type="submit"
class="focus:outline-none text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800">
Submit
</button>
</form>
</div>
})