bkuhlmann / form-validator / FormValidator.Views

The Form Validator views which are convenience methods for rendering forms and fields within your views.

field : key -> FormValidator.Models.Form key -> List String -> List (Html message) -> Html message

View field with errors (if any). To be used as a wrapper around field DOM elements.

errors : FormValidator.Models.Errors -> Html message

View field errors (if any) as an unordered list.

error : FormValidator.Models.Error -> Html message

View field error (if any) as a list item.