Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
174d50c0
Commit
174d50c0
authored
Sep 08, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug in form class that prevented name attribute from being set properly on input elements.
parent
fdc1c346
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
changelog.md
changelog.md
+8
-0
index.php
public/index.php
+1
-1
form.php
system/form.php
+2
-0
No files found.
changelog.md
View file @
174d50c0
# Laravel Change Log
# Laravel Change Log
## Version 1.5.8
-
Fixed bug in form class that prevent name attributes from being set properly.
### Upgrading from 1.5.7
-
Replace
**system**
directory.
## Version 1.5.7
## Version 1.5.7
-
Fixed bug that prevented view composers from being called for module named views.
-
Fixed bug that prevented view composers from being called for module named views.
...
...
public/index.php
View file @
174d50c0
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A clean and classy framework for PHP web development.
* Laravel - A clean and classy framework for PHP web development.
*
*
* @package Laravel
* @package Laravel
* @version 1.5.
7
* @version 1.5.
8
* @author Taylor Otwell
* @author Taylor Otwell
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
system/form.php
View file @
174d50c0
...
@@ -143,6 +143,8 @@ class Form {
...
@@ -143,6 +143,8 @@ class Form {
*/
*/
public
static
function
input
(
$type
,
$name
,
$value
=
null
,
$attributes
=
array
())
public
static
function
input
(
$type
,
$name
,
$value
=
null
,
$attributes
=
array
())
{
{
$name
=
(
isset
(
$attributes
[
'name'
]))
?
$attributes
[
'name'
]
:
$name
;
$id
=
static
::
id
(
$name
,
$attributes
);
$id
=
static
::
id
(
$name
,
$attributes
);
return
'<input'
.
HTML
::
attributes
(
array_merge
(
$attributes
,
compact
(
'type'
,
'name'
,
'value'
,
'id'
)))
.
'>'
.
PHP_EOL
;
return
'<input'
.
HTML
::
attributes
(
array_merge
(
$attributes
,
compact
(
'type'
,
'name'
,
'value'
,
'id'
)))
.
'>'
.
PHP_EOL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment