mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-04-30 13:42:38 +08:00
allllmost had custom validation messages, but order of operations booooo
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user