allllmost had custom validation messages, but order of operations booooo

This commit is contained in:
Gant
2014-08-08 21:48:15 -05:00
parent 57abac1d1f
commit 29a5bb4c2b
3 changed files with 20 additions and 2 deletions

View File

@@ -225,6 +225,9 @@ class MainStylesheet < ApplicationStylesheet
st.background_color = color.white
st.font = rmq.font.small
st.corner_radius = 5
st.validation_errors = {
digits: "Please only enter digits in this text field."
}
end
def only_email(st)