Commit Graph
261 Commits
Author SHA1 Message Date
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
Taylor Otwell a18fa242f1 Change visibility of obfuscate method. 2013-04-19 20:26:54 -05:00
Taylor Otwell 0457d838af Fixing a bug in the call of a static method. Cleaning up code. 2013-04-19 20:26:38 -05:00
greggilbert d62c15f8d3 using instance methods; cleaning up documentation 2013-04-15 21:10:03 -04:00
greggilbert 00ad50157f Bring back Html::mailto and Html::email from L3 2013-04-14 11:22:45 -04: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
Maxime Fabre 520d1e6d83 Add missing HTML::script and HTML::style 2013-04-02 22:40:18 +03:00
Anahkiasen 617756d715 Add custom HTML macros to HtmlBuilder 2013-04-02 14:28:04 +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
Nick Acker 131dc0790f Add phpunit to Illuminate component dependencies 2013-03-29 17:32:25 -04:00
Taylor Otwell 6fd1a099dc Fix docBlocks for PHPStorm. 2013-03-29 08:01:45 -05:00
Taylor Otwell c0874382d7 Fix call to URL::to in HtmlBuilder. 2013-03-29 07:45:03 -05:00
Taylor Otwell e6f7a67ae0 Add Html composer.json and added to split script. 2013-03-28 21:03:03 -05:00
Taylor Otwell b90e61bd3f Remove statics. 2013-03-28 14:49:46 -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 8104c77512 Merge pull request #719 from Anahkiasen/patch-1
[Proposal] Add back HTML::image method
2013-03-27 05:54:18 -07:00
Maxime Fabre 525e94bfd8 Add back HTML::image method 2013-03-27 11:29:08 +01:00
Davide Bellini 92a6d5578f Fix call in HtmlBuilder::linkAsset() 2013-03-27 10:03:19 +01: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 66c2d1d006 Set session on form builder. 2013-03-18 21:59:47 -05:00
Jeffrey Way db281db642 Attributes defaults to empty array 2013-03-14 10:28:08 -04:00
Christer Austad b50d906a43 DocBlock comments updated
Array names in DocBlock is incorrect.
2013-03-13 10:37:21 +01: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
Pascal Borreli 37a04dfe2b Fixed typo 2013-03-03 01:00:36 +00:00
Davide Bellini 53454c5f22 Fix optional parameter on Form::model() 2013-03-01 16:20:08 +01:00
Taylor Otwell c607acd998 Merge pull request #452 from billmn/master
Fixed checkable bug in FormBuilder
2013-02-28 18:00:35 -08:00
Taylor Otwell 9b8cb828a8 added entities and decode method. 2013-02-28 14:29:16 -06:00