https://github.com/redgluten/laravel-form-bootstrap-snippets-atom
Handy Atom editor snippets to create Laravel Collective Forms inputs preformated for Twitter's Bootstrap 3
https://github.com/redgluten/laravel-form-bootstrap-snippets-atom
atom-editor
Last synced: 6 months ago
JSON representation
Handy Atom editor snippets to create Laravel Collective Forms inputs preformated for Twitter's Bootstrap 3
- Host: GitHub
- URL: https://github.com/redgluten/laravel-form-bootstrap-snippets-atom
- Owner: redgluten
- License: other
- Created: 2015-06-30T16:48:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-24T23:11:21.000Z (almost 9 years ago)
- Last Synced: 2024-03-18T13:32:59.022Z (about 1 year ago)
- Topics: atom-editor
- Language: CoffeeScript
- Size: 173 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Collective Forms + Bootstrap Snippets for Atom Editor
Handy [Atom editor](http://www.atom.io/) snippets to create [Laravel Collective Forms](http://laravelcollective.com/docs/5.1/html) inputs preformated for [Twitter’s Bootstrap 3](http://getbootstrap.com/).
## Installation
You need to install the [language-blade](https://atom.io/packages/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-bootstrap-snippets`Then reload your Atom.
## Usage
When you’re editing your view in Atom, type the snippet shortcut then press `tab` key.

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