Skip to content

Instantly share code, notes, and snippets.

@kawahiro311
Created August 23, 2014 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kawahiro311/9bcf9020ff72a2ce6496 to your computer and use it in GitHub Desktop.
Save kawahiro311/9bcf9020ff72a2ce6496 to your computer and use it in GitHub Desktop.
Railsのエラー出力タグ "field-with-errors"を変更
config.action_view.field_error_proc = proc { |html_tag, instance| "<div class='has-error'>#{html_tag}</div>".html_safe }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment