Added url type and required
This commit is contained in:
parent
686f1451f5
commit
97ec6d52fc
|
@ -21,7 +21,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div id="target_container">
|
<div id="target_container">
|
||||||
<div class="mt-1 flex rounded-md shadow-sm">
|
<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"
|
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" />
|
placeholder="target url" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
Click to copy url to keyboard
|
Click to copy url to keyboard
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</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">
|
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
|
Create
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue