From deed005232c4db249f5f59a8be707709777d4b60 Mon Sep 17 00:00:00 2001 From: Mitul Golakiya Date: Thu, 23 Jun 2022 18:40:16 +0530 Subject: [PATCH] fix: user create fixes --- templates/scaffold/users/create.stub | 33 +++++++++++++++++++--------- templates/scaffold/users/fields.stub | 2 +- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/templates/scaffold/users/create.stub b/templates/scaffold/users/create.stub index bd2f213..be044f7 100644 --- a/templates/scaffold/users/create.stub +++ b/templates/scaffold/users/create.stub @@ -2,23 +2,36 @@ @section('content')
-

- User -

+
+
+
+

Create User

+
+
+
-
+ +
+ @include('adminlte-templates::common.errors') -
-
-
- {!! Form::open(['route' => 'users.store']) !!} +
- @include('users.fields') + {!! Form::open(['route' => 'users.store']) !!} - {!! Form::close() !!} +
+
+ @include('users.fields')
+ + + + {!! Form::close() !!} +
@endsection diff --git a/templates/scaffold/users/fields.stub b/templates/scaffold/users/fields.stub index 5f3c805..de96b29 100644 --- a/templates/scaffold/users/fields.stub +++ b/templates/scaffold/users/fields.stub @@ -18,6 +18,6 @@
- {!! Form::label('password', 'Password Confirmation') !!} + {!! Form::label('password', 'Password Confirmation') !!} {!! Form::password('password_confirmation', ['class' => 'form-control']) !!}