dym-sh/resources/views/new.blade.php

13 lines
346 B
PHP
Raw Permalink Normal View History

2024-08-09 13:52:23 +02:00
<x-layout-dashboard>
2024-08-09 11:32:31 +02:00
<form class="col c w-30" method="post" name="new_form" action="/new">
@csrf
2024-08-09 13:52:23 +02:00
<x-input type="hidden" value="0">id</x-input>
2024-08-09 11:32:31 +02:00
<x-input>title</x-input>
<x-input pattern="[A-Za-z0-9-]+" required>slug</x-input>
2024-08-09 13:52:23 +02:00
<x-input type="textarea">body</x-input>
2024-08-09 11:32:31 +02:00
<button type="submit">Create new</button>
</form>
2024-08-09 13:52:23 +02:00
</x-layout-dashboard>