overriding form block

Permalink
I use concrete5 8.5.2 and add a form block (form block no legacy form block), on my contacts page. then i try to overwrite this one, following the instructions turn off all cache, and copy the view.php file from concrete/blocks/form to application/blocks/form (just like the instructions say). Mods just try to add some classes...
the class "contact" to the <form> tag
the class "unidad" to the <div class = "form-group"> tag
change the label <label class = "control-label"> to <span class = "control-label"> and add the class "etiqueta"
and finally add <span class="e-field"> </span> just before the endforeach.
with this done I should see the changes as explained in the documentation... however no change happens...
I attach the files...
contact-concrete5.php showing the rendered file on the contacts page
the modified view.php file found in application/blocks/form
and finally the concrete/blocks/form view.php file
P.S. the first two files only show the part of the code that matters the last one is complete, all files in text files. I can't show you the site because it's on my local server...
can you help me find the error... please...? Thank you.

3 Attachments

 
linuxoid replied on at Permalink Reply
linuxoid
andress replied on at Permalink Reply
thanks, it's an option ... I'll save it I want to try to solve this problem first ..
linuxoid replied on at Permalink Reply
linuxoid
I meant you can look at the package structure and use it as a basis for your form
andress replied on at Permalink Reply
ok it's a good idea .. although i did everything as explained in the documentation ... i will check the material you sent me ... thanks again
andress replied on at Permalink Reply
this is much easier with jquery...!