Victor Isadov
16264f1c8d
Add tests and checkbox handling
2016-08-13 12:26:27 +03:00
Victor Isadov
45fe4e7988
Add Request support
2016-08-13 11:57:01 +03:00
Adam Engebretson
c4c87916c3
Updating for 5.3
2016-08-03 22:49:50 -05:00
rajatsharma94
eb132aed5c
added nbsp() to generate repeated   tag
2016-07-11 11:47:54 +05:30
Adrian Gunawan
71b81b7f96
Remove unreachable return statement
2016-06-30 20:59:34 +10:00
Matt Lantz
bcf0697d7d
Merge pull request #191 from aygee/get-form-value-related-model
...
Getting form value from related model
2016-06-19 01:01:55 -04:00
mlantz
3479b19ce1
typo
2016-06-12 18:13:44 -04:00
mlantz
e7d03053b3
Merge branch '5.2' of https://github.com/LaravelCollective/html into blade-directives
2016-06-12 17:33:43 -04:00
Matt Lantz
d79805ade4
Merge pull request #193 from JamesAlday/5.2-link-fix
...
Make escaping of labels for HTML and mailto links optional
2016-06-10 15:16:34 -04:00
James Alday
24ee0aadc0
StyleCI fixes - remove empty line after class declaration
2016-06-10 15:12:35 -04:00
Matt Lantz
f6d9a66624
Merge pull request #174 from StefanPrintezis/form_label_html
...
Html escaping is now optional for labels
2016-06-10 11:26:30 -04:00
James Alday
0d1d1fcd5a
Add 'escape' option to helper function
2016-05-21 15:50:41 -04:00
James Alday
f9a4e185f4
Make escaping of labels for HTML and mailto links optional
2016-05-21 15:10:11 -04:00
Adrian Gunawan
0625f71fd9
Fix the issue of getting form value from related model
2016-05-19 15:47:42 +10:00
Adrian Gunawan
a3d42da280
Transform the field name when getting the form value from model
2016-05-14 20:50:52 +10:00
mlantz
67b3289891
More style fixes
2016-04-06 15:18:08 -04:00
mlantz
04f921062e
style fix
2016-04-06 15:17:41 -04:00
mlantz
e9d7084769
Supports blade directives
...
Now creates a collection of blade directives for available html, and
form methods
2016-04-06 14:35:03 -04:00
Stefan Printezis
d65deb4e77
Html escaping is now optional for labels
2016-03-23 13:13:50 +01:00
Andrew Smith
068dfb348d
Support boolean attributes
2016-03-03 16:48:31 +10:00
Rafael Renan Pacheco
df8acc24bb
Avoid using session to build form
2016-02-01 09:32:17 -02:00
Micheal Mand
fa2628d311
Use array_get's third parameter for default value.
...
This allows for using boolean values as default options.
2016-01-27 14:49:58 -06:00
Antonio Carlos Ribeiro
0e8e2dbc67
Remove uneeded use.
2016-01-26 21:39:03 -02:00
Paul Vidal
6f35784c8b
added function tag
2016-01-20 00:56:22 -05:00
Adam Engebretson
c88b2d59a5
Revert "[5.2] Use toArray() for Model Object Value"
...
This reverts commit e7db3dd11a .
2016-01-16 10:54:49 -06:00
Adam Engebretson
add2c74b14
Merge pull request #135 from dennisoderwald/patch-1
2016-01-15 15:59:03 -06:00
Tom Shafer
b60bb4da7c
Applied fixes from StyleCI
2015-12-28 20:09:17 -05:00
Dennis Oderwald
e7db3dd11a
[5.2] Use toArray() for Model Object Value
2015-12-23 22:28:01 +01:00
lanort
ef11b7dd2f
Update FormBuilder.php: fix to get selected value with 0 as index
...
`getSelectedValue` returns always true if it receives a value (from an select input) of 0. To avoid that the strict parameter has to be set to true.
This is because the following code does not work as might expected:
<?php
// check if 0 is in the array [1 => "c16"]
var_dump(in_array(0, [1=>"c16"])); // returns true
2015-12-14 23:33:12 +01:00
Adam Engebretson
4c9b44a817
Extracting Components to Trait & Adding to Forms
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-02 02:15:22 -06:00
Adam Engebretson
0946c7f0a3
Applied fixes from StyleCI
2015-12-01 04:45:27 -05:00
Adam Engebretson
68f2a68c47
Fixing CS
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 03:44:46 -06:00
Adam Engebretson
5b7668573d
Adding FormAccessible Trait
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 03:41:47 -06:00
Adam Engebretson
e70854b523
Returning HtmlStrings [html]
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 02:03:53 -06:00
Adam Engebretson
29efd5ae14
Returning HtmlStrings [form]
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:58:43 -06:00
Adam Engebretson
24d14f259d
Formatting
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:46:08 -06:00
Adam Engebretson
c772164bff
Allowing default component values
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 01:44:34 -06:00
Adam Engebretson
c4ae1f54de
Tidying
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:44:13 -06:00
Adam Engebretson
53b8b23bf9
Protecting a method
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:36:40 -06:00
Adam Engebretson
d2b7e24d72
Starting Html Components
...
Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com >
2015-12-01 00:35:47 -06:00
Adam Engebretson
f62269629b
Merge pull request #96 from patrickbrouwers/patch-1
...
HtmlBuilder shouldn't depend on concrete implementation
2015-11-28 02:27:09 -06:00
Adam Engebretson
2516472b3f
Merge pull request #97 from patrickbrouwers/patch-2
...
Don't depend on concretes in FormBuilder
2015-11-28 02:26:44 -06:00
Adam Engebretson
828da38dcd
Merge pull request #100 from jackmcdade/5.1
...
dl() now supports multiple descriptions per term
2015-11-28 02:26:21 -06:00
Mulia Arifandi Nasution
b6b3693586
Add color input type
2015-11-28 15:21:36 +07:00
Martin Bean
cea1f619b3
Add datetime input types
2015-11-06 13:44:42 +00:00
Jack McDade
acb21a9364
correct code formatting
2015-10-23 17:47:44 -04:00
Jack McDade
b5d6fdedb6
dl() now supports multiple descriptions per term
2015-10-23 17:45:01 -04:00
Patrick Brouwers
9ab4568241
Don't depend on concretes in FormBuilder
2015-10-08 10:08:07 +02:00
Patrick Brouwers
575d891b64
HtmlBuilder shouldn't depend on concrete implementation
2015-10-08 09:56:16 +02:00
wmather
a28c3dc94c
Replace bindShared with singleton
2015-09-11 14:46:31 +01:00