emaglio / blog

Our new Trailblazer sample app
6 stars 3 forks source link

Error messages are not showed properly with slim #27

Open emaglio opened 7 years ago

emaglio commented 7 years ago

This is what formular create: fieldset --form-group has-danger ----textarea bla bla ----span class="form-control-feedback" ------| Error message

this is what should be: fieldset --form-group has-feedback has-error has-danager ----textaread bla bla ----span class="form-control-feedback" (to show the icon add it in class) ----div class="help-block with-errors" ------ul class="list-unstiled" --------li Error Message

looks like we need to wrap more into the Error not only the span

this helps: http://1000hz.github.io/bootstrap-validator/