Commit Graph
46 Commits
Author SHA1 Message Date
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
Taylor Otwell 1e14086a65 fix bug in form builder. 2013-02-27 22:19:33 -06:00
Taylor Otwell 172673c879 working on form builder. 2013-02-27 20:46:20 -06:00
Taylor Otwell a5751249be added macro method. 2013-02-26 23:31:46 -06:00
Taylor Otwell 28832d5d71 work on form builder. tweak blade escaping behavior. 2013-02-26 23:26:14 -06:00
Taylor Otwell 92879ca385 working on form builder. 2013-02-26 23:19:01 -06:00
Taylor Otwell 4c668c88a6 working on forms. 2013-02-27 21:49:30 -06:00
Taylor Otwell fa9d59cc21 working on form builder. 2013-02-23 07:50:37 -06:00
Taylor Otwell 8e79407d9d refactoring the form builder. 2013-02-17 22:40:51 -06:00