Taylor Otwell
fdb891e180
Fix form builder with model binding.
2013-08-01 08:25:31 -05:00
Brad Estey
3809fee0a7
Fixed FormBuilder selectMonth. mktime() fails on the 31st of a month when the day is null.
...
See http://www.php.net/manual/en/function.mktime.php#99707
2013-07-31 16:37:51 -04:00
Taylor Otwell
07eb181c23
Added selectMonth and selectYear to FormBuilder.
2013-07-30 16:23:29 -05:00
Taylor Otwell
174edee831
Fixing radios and checkboxes with old input (finally).
2013-07-30 15:10:22 -05:00
Shawn McCool
052dbc46be
updated FormBuilder class to prevent passwords from being filled by flash data
2013-06-09 22:09:26 +02:00
Taylor Otwell
44a67316be
Swap dev queue back to iron.
2013-05-15 07:51:14 -05:00
Shawn McCool
8c8bdd7078
fix form spoofing
2013-05-15 13:33:25 +02:00
Taylor Otwell
a824102a1f
Tweak how method is passed in form builder.
2013-05-14 19:56:27 -05:00
Taylor Otwell
524f0e9c9b
cleaning up bigint and mediumint code.
2013-05-13 23:26:13 -05:00
Taylor Otwell
0fcbd4466f
Include CSRF tokens by default in every non-GET form. #917 .
2013-05-12 21:38:40 -05:00
Taylor Otwell
43a9724d02
Fix textarea name setting. Closes #1161 .
2013-05-09 23:08:14 -05:00
Taylor Otwell
f827467fe9
Removing code sample.
2013-05-07 22:40:43 -05:00
Jonathan Thuau
752b4336ac
Update FormBuilder.php
...
[REPLACE] URL::asset($url) by $this->url->asset($url)
2013-05-07 17:45:31 +03:00
Jonathan Thuau
d6a9cd191a
Update FormBuilder.php
2013-05-07 17:01:24 +03:00
Jonathan Thuau
48e7a49ea3
Update FormBuilder.php
...
[ADD] Method reset()
[ADD] Method image()
2013-05-07 16:32:15 +03:00
Taylor Otwell
fa7d41c987
Fix bug in form builder.
2013-05-02 07:37:25 -05:00
Taylor Otwell
72ed9898cb
Added ability to pull values out of relationships, etc. on FormBuilder object value pulls. Closes #1047 .
2013-05-01 08:37:35 -05:00
Taylor Otwell
0ac2ad7b2c
Fix bug with passing Arrayable to view. Fixes #1120 .
2013-04-30 11:46:24 -05:00
Taylor Otwell
85e26105f1
Refactoring some code in the form builder.
2013-04-30 10:12:42 -05:00
Taylor Otwell
028689911f
Merge pull request #1022 from wesleyh/master
...
Proposal: Default value for labels.
2013-04-30 08:09:18 -07:00
Taylor Otwell
118068d218
Upper case on method check. Fixes #1109 .
2013-04-29 16:20:48 -05:00
wesleyh
dea61f2e44
Updated to use ucwords instead of ucfirst
...
This ensures each word is capitalized instead of just the first.
2013-04-22 11:16:47 +03:00
wesleyh
0f63e047d9
Spaces around equals sign.
2013-04-21 10:23:35 +03:00
wesleyh
b26a9e1072
Coding Standards
...
Changed to using null instead of '' and remove the ': ' at the end of the label value. (Though I myself quite like this..)
2013-04-20 23:30:04 +03:00
Wesley Hollevoet
9587c6ccf9
Set default value for label if no value is supplied.
2013-04-20 12:20:47 +02:00
ali oygur
a120936148
Unescape Html::button() value
...
HTML::button() values escaping. that is contrary to the architecture of the html5.
Maybe i want use dom element in button
Example; Twitter bootstrap
2013-04-08 16:04:13 +03:00
Taylor Otwell
3680cddb2f
Evening out some comments like a crazy person.
2013-04-06 20:07:10 -05:00
Phill Sparks
8d46093df3
Allow PATCH method in FormBuilder
2013-04-05 21:17:00 +02:00
Taylor Otwell
3c28b890e2
Change visibility of Form::getValueAttribute.
2013-04-01 16:27:35 -05:00
Taylor Otwell
0e0bae2a0e
Fix file value setting on form builder.
2013-03-30 16:58:29 -05:00
Taylor Otwell
6fd1a099dc
Fix docBlocks for PHPStorm.
2013-03-29 08:01:45 -05:00
Taylor Otwell
e6f7a67ae0
Add Html composer.json and added to split script.
2013-03-28 21:03:03 -05:00
Taylor Otwell
00f8efb32b
Don't override names if they have been explicitly set.
2013-03-27 10:11:19 -05:00
Taylor Otwell
2a3bd6ffa8
Work on HTML builder.
2013-03-26 14:02:06 -05:00
Christoph Menke
daa9fbe5c5
Set button type, unless it's been specified
2013-03-26 09:53:28 +01:00
Taylor Otwell
47a9d8e9ee
Cleaning up comments.
2013-03-25 16:13:50 -05:00
Taylor Otwell
338c6c26cc
Merge pull request #642 from franzliedke/patch-4
...
Improvements for form values
2013-03-25 14:10:58 -07:00
Taylor Otwell
52bc6cd4fb
Fix bug with check state in form builder.
2013-03-25 15:23:59 -05:00
Barry
6120b9c5da
Additional phpdoc fixes
2013-03-22 10:29:52 +01:00
Franz Liedke
793787e8a6
Don't hardcode default value for submit buttons.
2013-03-20 23:56:49 +01:00
Franz Liedke
560af380fc
Don't fetch old input for unnamed fields.
...
This is the proper fix for the underlying problem of #638 .
2013-03-20 23:55:47 +01:00
Franz Liedke
fc025c0876
Prefer old input data over form field values.
2013-03-20 23:53:57 +01:00
Jeffrey Way
cd84f672c7
Give submit button sensible default
2013-03-20 14:09:38 -04:00
Taylor Otwell
fbcf6bf383
Tweak text area form builder.
2013-03-12 20:21:36 -05:00
Dries Vints
a904c422b7
Pass non-named routes through Form::open()
...
You can now pass non-named routes alongside urls to Form::open with the 'url' parameter. The UrlGenerator will validate if it's a valid url and will otherwise try to generate an url if it's a route.
Signed-off-by: Dries Vints <dries.vints@gmail.com >
2013-03-06 12:17:13 +01:00
Taylor Otwell
aaa4148a1f
allow passing of route options and action options in form::open.
2013-03-04 19:39:48 -06:00
Taylor Otwell
a0706cc629
Update FormBuilder.php
2013-03-04 16:55:21 -06:00
Davide Bellini
53454c5f22
Fix optional parameter on Form::model()
2013-03-01 16:20:08 +01:00
Davide Bellini
8b2241c0f6
Fixed checkable bug in FormBuilder
2013-02-28 10:51:07 +01:00
Taylor Otwell
4254f09155
fixing bug in form builder.
2013-02-27 22:22:23 -06:00