- Nette Core | 1214
I'm using own FormRenderer (like this one) and I'm
rendering form manually by
<form n:name=...> or by
In this case,
Form::render() is not called and I don't know,
where to place a hook for controls adjusting. For example, how to set class
btn-sm for all submit buttons.
One possible solution is to refactor internal FormsLatte\Runtime
Form::render('begin'). In that case, I can overload
DefaultFormRenderer::renderBegin() method. But it's not
Another possible solution is to add
somewhere, I'm not sure how yet.
So, I'm looking for the cleaner solution :o) Some tips or experiences? I'll send PR.