# |
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 |
# |
Feb 10th 2020, 09:59 |
challgren |
Do you use forms in cakephp? |
# |
Feb 10th 2020, 09:59 |
pieceof |
used, metronic, inspinia and smartadmin |
# |
Feb 10th 2020, 09:58 |
javier.villanueva |
https://adminlte.io/docs/2.4/installation |
# |
Feb 10th 2020, 09:58 |
javier.villanueva |
I use maiconpinto admin lte |
# |
Feb 10th 2020, 09:57 |
challgren |
Ok I think Im throwing the towel in on Inspinia, anyone have a good theme that works with cakephp generated stuff and foc/boostrap-ui |
# |
Feb 10th 2020, 09:39 |
challgren |
Im really fighting the form helper on this template |
# |
Feb 10th 2020, 09:39 |
javier.villanueva |
sometimes i use a parent div with my custom class, and attrs in the element |
# |
Feb 10th 2020, 09:38 |
javier.villanueva |
but probably is not the best way |
# |
Feb 10th 2020, 09:38 |
javier.villanueva |
yes... i remove attrs when i use custom classes |
# |
Feb 10th 2020, 09:38 |
javier.villanueva |
:S |
# |
Feb 10th 2020, 09:37 |
challgren |
If I do then theres duplicate class=“” in the HTML which doesnt render correctly |
# |
Feb 10th 2020, 09:37 |
javier.villanueva |
and you cant add your default class there? |
# |
Feb 10th 2020, 09:36 |
challgren |
currently its ‘label’ => ‘<label{{attrs}}>{{text}}{{tooltip}}</label>’, |
# |
Feb 10th 2020, 09:36 |
challgren |
Yes |
# |
Feb 10th 2020, 09:35 |
javier.villanueva |
@challgren do you use a custom "templates" (in your forms)? |