Skip to content

HTML and Form Builder for the Laravel Framework

Notifications You must be signed in to change notification settings

black-bits/formbuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Formbuilder

Latest Version on Packagist Software License Build Status Total Downloads

HTML and Form Builder for the Laravel Framework

How to use

<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>

About

HTML and Form Builder for the Laravel Framework

Resources

Stars

Watchers

Forks

Packages

No packages published