Skip to content

Instantly share code, notes, and snippets.

View telwell's full-sized avatar

Trevor Elwell telwell

View GitHub Profile
telwell / index.html
Created August 15, 2017 22:47
Starter Bootstrap Code
<!DOCTYPE html>
<link rel="stylesheet" type="text/css" href="">
<link rel="stylesheet" type="text/css" href="assets/styles.css">
<title>Trevor Elwell's Website</title>
<body class="container-fluid">
<div class="row justify-content-center">
telwell / customize_error.rb
Last active May 18, 2023 16:54
Customize Field Errors with Rails 5 and Bootstrap
# Adapted from
ActionView::Base.field_error_proc = do |html_tag, instance|
html = ''
form_fields = [