13 lines
392 B
Text
13 lines
392 B
Text
|
|
<h1 class="text-2xl grow font-bold mb-6">Create a new link</h1>
|
||
|
|
|
||
|
|
<.form for={@form} phx-submit="submit">
|
||
|
|
<div class="flex gap-2 items-end">
|
||
|
|
<div class="grow">
|
||
|
|
<.input field={@form[:url]} type="text" label="url" />
|
||
|
|
</div>
|
||
|
|
<button class="bg-black border border-black hover:bg-gray-700 text-white font-bold py-2 px-3 rounded-md">
|
||
|
|
Create
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
</.form>
|