A free open source IT asset/license management system
Form component (will move the other things later)
snipeb99ae9be889a
diff --git a/resources/views/blade/form/index.blade.php b/resources/views/blade/form/index.blade.phpnew file mode 100644index 0000000000..4ff9b739e7--- /dev/null+++ b/resources/views/blade/form/index.blade.php@@ -0,0 +1,18 @@+@props([+ 'route' => null,+ 'item' => null,+ 'class' => 'form-horizontal',+])+@aware(['name', 'footer'])++<form id="create-form" class="{{ $class }}" method="post" action="{{ $route }}" autocomplete="off" role="form" enctype="multipart/form-data">++ @csrf++ @if ($item->id)+ {{ method_field('PUT') }}+ @endif++ {{ $slot }}++</form>\ No newline at end of file