Handy Sublime Text snippets to create Laravel Collective Forms inputs preformated for Twitter's Bootstrap 3.
-
Via Package Control: search for
Laravel Forms Bootstrap Snippets
. -
Via Git, clone this repository into your Packages folder:
git clone https://github.com/redgluten/laravel_forms_boostrap_snippets.git
- Or download the snippets zip file and unzip it into your Packages folder (Windows & Linux:
Preferences > Browse Packages...
, Mac:Sublime Text > Preferences > Browse Packages...
).
When you're editing your view in Sublime Text, type the snippet shortcut then press tab
key.
Input | Shortcut |
---|---|
Button | bootbutton |
Checkbox | bootcheckbox |
Date | bootdate |
bootemail |
|
File | bootfile |
Hidden | boothidden |
Number | bootnumber |
Password | bootpassword |
Radio | bootradio |
Select | bootselect |
SelectMonth | bootselectmonth |
SelectRange | bootselectrange |
Text | boottextarea |
Textarea | boottext |