Added url type and required
This commit is contained in:
parent
686f1451f5
commit
97ec6d52fc
|
@ -21,7 +21,7 @@
|
|||
<div>
|
||||
<div id="target_container">
|
||||
<div class="mt-1 flex rounded-md shadow-sm">
|
||||
<input type="text" name="target" id="target"
|
||||
<input type="url" name="target" id="target" required
|
||||
class="flex-1 min-w-0 block rounded-lg w-full px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm border-gray-300"
|
||||
placeholder="target url" />
|
||||
</div>
|
||||
|
@ -56,7 +56,7 @@
|
|||
Click to copy url to keyboard
|
||||
</p>
|
||||
</div>
|
||||
<button type="button" id="create"
|
||||
<button type="submit" id="create"
|
||||
class="mt-1 w-full items-center px-4 py-2 border shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
||||
Create
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue