Nette Live form validation with Twitter Bootstrap

If you use Nette Live form validation plugin with Bootstrap items like input-group, there is a problem with placeholder. Library added span with error message bellow input.

Solution is in using data attribute and own span.

 

<div class="form-group">
   {label test /}
   <div class="input-group">
      {input test, class => 'form-control', data-lfv-message-id => 'MY_FORM_TEST_MESSAGE_ID'}
      <span class="input-group-addon">m</span>
   </div>
   {* right place *}   
   <span id="MY_FORM_TEST_MESSAGE_ID"></span>
</div>