# |
Feb 10th 2020, 10:32 |
challgren |
Well Im just going for the checkboxes only |
# |
Feb 10th 2020, 10:32 |
ndm |
That's some rather specific output, it would probably be relatively simple if you wouldn't have to mix checkboxes and radios. |
# |
Feb 10th 2020, 10:28 |
challgren |
Ok so the hidden field created seems to be sticking to input template, but the true checkbox beats to its own rhythm |
# |
Feb 10th 2020, 10:23 |
challgren |
well removing the input override puts the checkbox on the same line but screws up my other inputs now |
# |
Feb 10th 2020, 10:20 |
challgren |
my templates |
# |
Feb 10th 2020, 10:20 |
challgren |
My code |
# |
Feb 10th 2020, 10:19 |
challgren |
This my current html outputed |
# |
Feb 10th 2020, 10:19 |
challgren |
This is my end goal |
# |
Feb 10th 2020, 10:18 |
ndm |
Certainly you'd use `control()` though |
# |
Feb 10th 2020, 10:18 |
challgren |
Well Im trying to override stuff to work with inspinia theme |
# |
Feb 10th 2020, 10:18 |
ndm |
I'll have to check.... things were working relatively fine ever since I've last committed to it |
# |
Feb 10th 2020, 10:17 |
challgren |
Yep |
# |
Feb 10th 2020, 10:17 |
neon1024 |
Is 3.0.0-beta for Cake 4? |
# |
Feb 10th 2020, 10:17 |
neon1024 |
Ah noice, I am still on `2.0.0-beta4` |
# |
Feb 10th 2020, 10:17 |
challgren |
friendsofcake/bootstrap-ui 3.0.0-beta |
# |
Feb 10th 2020, 10:16 |
ndm |
The latest dev? |
# |
Feb 10th 2020, 10:16 |
challgren |
I am using it |
# |
Feb 10th 2020, 10:16 |
ndm |
Have you considered using use the bootstrap-ui plugin? |
# |
Feb 10th 2020, 10:15 |
slackebot |
Action: neon1024 rearranges the stuff on pieceof desk |
# |
Feb 10th 2020, 10:14 |
pieceof |
afk ~20m |
# |
Feb 10th 2020, 10:13 |
slackebot |
<pieceof> |
# |
Feb 10th 2020, 10:13 |
pieceof |
no span .P |
# |
Feb 10th 2020, 10:12 |
challgren |
Why render the damm checkbox outside the div! |
# |
Feb 10th 2020, 10:12 |
challgren |
Above code generates above code |
# |
Feb 10th 2020, 10:11 |
slackebot |
<challgren> |
# |
Feb 10th 2020, 10:11 |
slackebot |
<challgren> |
# |
Feb 10th 2020, 10:10 |
pieceof |
i cant spin this project here |
# |
Feb 10th 2020, 10:10 |
pieceof |
bootstrap looks for an span at the end |
# |
Feb 10th 2020, 10:10 |
pieceof |
try putting emprty '<span></span>' at the 'after' |
# |
Feb 10th 2020, 10:09 |
pieceof |
every new template/project is a new headache |
# |
Feb 10th 2020, 10:08 |
slackebot |
<pieceof> |
# |
Feb 10th 2020, 10:08 |
challgren |
And now I switched from control to checkbox and its rendering the checkbox outside the div |
# |
Feb 10th 2020, 10:07 |
pieceof |
cant find one full render via ->input |
# |
Feb 10th 2020, 10:03 |
challgren |
I hate HTML so much |
# |
Feb 10th 2020, 10:02 |
pieceof |
looking for one, used switchery (it sucks) |
# |
Feb 10th 2020, 10:02 |
challgren |
wasnt there a beforeLabel/afterLabel or beforeInput/afterInput |
# |
Feb 10th 2020, 10:00 |
challgren |
Well for example I need to override the checkbox https://book.cakephp.org/4/en/views/helpers/form.html#moving-checkboxes-radios-outside-of-a-label if I do that it screws up the whole form |
# |
Feb 10th 2020, 10:00 |
neon1024 |
Write your templates into files, and load them when you need them |
# |
Feb 10th 2020, 10:00 |
pieceof |
yes, mostly (cake2) |
# |
Feb 10th 2020, 10:00 |
challgren |
I override one way and then need to do another way and I just feel limited with cake |
# |
Feb 10th 2020, 09:59 |
challgren |
Thats really where im struggling |