-if target.errors.any?
  .alert.alert-error.alert-box.alert
    h4 data-t="helpers.forms.errors.title" data-t-attributes=%[{"count":#{target.errors.count}}] = t('helpers.forms.errors.title', :count => target.errors.count)
    ul
      - for message in target.errors.full_messages
        li= message
