Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sublime Text 3 snippets forLaravelCollective/htmlform elements.

Like this project?

Join the community on SpectrumBecome a PatronOne-time Donation

Installation

With Package Control:
  1. In Sublime Text pressCtrl +Shift +P to open the command pallet
  2. Search forPackage Control: Install Package and pressEnter
  3. In the package list search forLaravelCollective HTML Form Snippets and pressEnter to install
With Git:

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

Usage

To use these snippets, type the trigger text followed by theTab key.

Trigger TextOutput
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, []) !!}

Contributing

  1. Forkthis repo
  2. Make your changes
  3. Submit Pull Request

Changelog

A list of changes can be found on theGitHub Releases page.

Troubleshooting

For general help and support join ourSpectrum community.

Please report bugs to theGitHub Issue Tracker.

Copyright

This project is licensed under theMIT License.


[8]ページ先頭

©2009-2025 Movatter.jp