bitcrowd / bitstyles_phoenix

A collection of Elixir phoenix helpers for bitstyles
ISC License
12 stars 0 forks source link

More than one error on one field #27

Closed andreasknoepfle closed 3 years ago

andreasknoepfle commented 3 years ago

Currently we will render a couple of <span> tags when rendering mutliple errors on one field. This looks horrible at the moment. Instead we should change it to render one span tag only when there is a single error only and for multiple render:

<ul>
  <li><span>...</span></li>
  <li><span>...</span></li>
</ul>