- Notifications
You must be signed in to change notification settings - Fork1
Sublime Text 3 snippets for LaravelCollective/html form elements.
License
NotificationsYou must be signed in to change notification settings
PHLAK/laravelcollective-html-form-snippets
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Sublime Text 3 snippets forLaravelCollective/htmlform elements.
- In Sublime Text press
Ctrl+Shift+Pto open the command pallet - Search for
Package Control: Install Packageand pressEnter - In the package list search for
LaravelCollective HTML Form Snippetsand pressEnterto install
Clone the repository in your Sublime Text "Packages" directory(~/.config/sublime-text-3/Packages on Linux):
git clone git@github.com:PHLAK/laravelcollective-html-form-snippets.gitTo use these snippets, type the trigger text followed by theTab key.
| Trigger Text | Output |
|---|---|
formopen | {!! Form::open() !!} |
formclose | {!! Form::close() !!} |
formtoken | {!! Form::token() !!} |
formmodel | {!! Form::model($user, []) !!} |
formlabel | {!! Form::label($for, $text, []) !!} |
formtext | {!! Form::text($name, $value, []) !!} |
formtextarea | {!! Form::textarea($name, $value, []) !!} |
formpassword | {!! Form::password($name, []) !!} |
formhidden | {!! Form::hidden($name, $value, []) !!} |
formemail | {!! Form::email($name, $value, []) !!} |
formfile | {!! Form::file($name, []) !!} |
formcheckbox | {!! Form::checkbox($name, $value, $checked, []) !!} |
formradio | {!! Form::radio($name, $value, $checked, []) !!} |
formnumber | {!! Form::number($name, $value, []) !!} |
formdate | {!! Form::date($name, \Illuminate\Support\Carbon::now(), []) !!} |
formselect | {!! Form::select($name, $optionsArray, $defaultKey, []) !!} |
formselectrange | {!! Form::selectRange($name, $min, $max), [] !!} |
formselectmonth | {!! Form::selectMonth($name, []) !!} |
formsubmit | {!! Form::submit($text, []) !!} |
- Forkthis repo
- Make your changes
- Submit Pull Request
A list of changes can be found on theGitHub Releases page.
For general help and support join ourSpectrum community.
Please report bugs to theGitHub Issue Tracker.
This project is licensed under theMIT License.
About
Sublime Text 3 snippets for LaravelCollective/html form elements.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.