So if you agree with me that this decorators can be helpful to some
users why did you delete my post?
Webdevelopers can put form in some div wrapper with css id and they can
style all neccessery think using "#idFormWrapper form ..." - it's not
complicated.
Obviously some project required unusual styling or location - in this
case webdevelopers can create form with all
form elements, labels errors etc. In my opinion less is better that
more. It will be much quicker to make something like this:
<div id="loginForm">
{{ form.toHtml() }}
</div>
that:
<div id="loginForm">
<form method="{{ form.getUserOption('method') }}" action="{{
form.getUserOption('action') }}" id="" class="">
{{ form.get('email').getLabel() }}
{{ form.render('email') }}
{% if form.getMessagesFor('email').count() > 0 %}
{{ form.getMessagesFor('email').offsetGet(0).getMessage() }}
{% endif %}
{{ form.get('password').getLabel() }}
{{ form.render('password') }}
{% if form.getMessagesFor('password').count() > 0 %}
{{ form.getMessagesFor('password').offsetGet(0).getMessage() }}
{% endif %}
{{ form.render('go') }}
</form>
</div>
...
from my experience I can say that 85% projects has normal forms without
any unusual staff. For rest 15% webdevelopers can
write their forms. Good framework makes your work much quicker and also
when you would like to implemate something in
another way you can also do this.