laravel-forms-bootstrap-snippets

Handy Atom editor snippets to create Laravel Collective Forms inputs preformated for Twitter's Bootstrap 3

redgluten

37,633

15

1.2.0

MIT

GitHub

Laravel Collective Forms + Bootstrap Snippets for Atom Editor

Handy Atom editor snippets to create Laravel Collective Forms inputs preformated for Twitter’s Bootstrap 3.

Installation

You need to install the language-blade package before installing this one. You can do it via the GUI (Preferences > Install) or with the command line:

apm install language-blade apm install laravel_forms_boostrap_snippets

Then reload your Atom.

Usage

When you’re editing your view in Atom, type the snippet shortcut then press tab key.

Example with  snippet

Available snippets

General

Input Shortcut
Form bootform
Form model bootformmodel

Inputs

Input Shortcut
Button bootbutton
Checkbox bootcheckbox
Date bootdate
Email bootemail
File bootfile
Hidden boothidden
Number bootnumber
Password bootpassword
Radio bootradio
Select bootselect
SelectMonth bootselectmonth
SelectYear bootselectyear
SelectRange bootselectrange
Text boottext
Textarea boottextarea

Horizontal inputs

Input Shortcut
Checkbox bootcheckboxh
Date bootdateh
Email bootemailh
File bootfileh
Number bootnumberh
Password bootpasswordh
Radio bootradioh
Select bootselecth
SelectMonth bootselectmonthh
SelectYear bootselectyearh
SelectRange bootselectrangeh
Text boottexth
Textarea boottextareah