[TYPO3-mvc] EXT:blog_example :: unnecessary html code in fluid templates for forms?

Roland most.wanted at gmx.at
Wed Jun 6 09:27:20 CEST 2012


hi everybody,

i just discovered fluid code snippets like this in the fluid templates 
for forms of EXT:blog_example:

--- quote ---

<f:form.textfield property="title" id="tx-blogexample-title"><input 
type="text" id="tx-blogexample-title" /></f:form.textfield>

--- /quote ---

Am i right, that <input type="text" id="tx-blogexample-title" /> is not 
necessary here? is this for demonstrational purpose to show how the 
generated html code will look like?

if this is the case: i think this is confusing and should be removed.

--- quote ---

<f:form.textfield property="title" id="tx-blogexample-title" />

--- /quote ---

i think this is more readable too.

what do you think?

if you agree i will open a ticket on forge.typo3.org and push a commit 
to gerrit.

kind regards

roland


More information about the TYPO3-project-typo3v4mvc mailing list