HTML and Form Builder for the Laravel Framework
<div class="col-md-6">
{{ Formbuilder::title('Edit User', 'h2') }}
{{ Formbuilder::open(route('form1.post'), 'post') }}
{{ csrf_field() }}
{{ Formbuilder::text(
"full_name",
old('full_name', $user->get('full_name')),
"Full Name",
"Max Mustermann")
}}
{{ Formbuilder::text(
"username",
old('username', $user->get('username')),
"Username",
"mmustermann")
}}
{{ Formbuilder::email(
"email",
old('email', $user->get('email')),
"Email",
"[email protected]")
}}
{{ Formbuilder::password(
"password",
'',
"Password",
"your-secret-password")
}}
{{ Formbuilder::password(
"password_repeat",
'',
"Password Repeat",
"your-secret-password")
}}
{{ Formbuilder::buttons(
route('home'))
}}
{{ Formbuilder::close() }}
</div>