Forked from driesvints/laravel-weekly-23-quick-tip.php
Created
September 17, 2013 15:42
-
-
Save diegofelix/6596139 to your computer and use it in GitHub Desktop.
Laravel 4: Form range examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# Create a list with numbers ranging from 10 to 20. | |
Form::selectRange('number', 10, 20); | |
# Create a list with years ranging from 1900 to 2000. | |
Form::selectYear('year', 1900, 2000); | |
# Creates a list with month names. | |
Form::selectMonth('month'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment