Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jul 21st, 2018
77
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
def error_message_on(model, field)
unless model.errors[field].blank?
content_tag(:div, model.errors[field].first, :class => 'error_message')
end
end
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
JavaScript | 3 min ago | 1.58 KB
Untitled
HTML | 10 min ago | 7.53 KB
ДЗ Степень двойки
C# | 11 min ago | 1.19 KB
Untitled
HTML | 15 min ago | 7.53 KB
the best one minimax
Python | 30 min ago | 3.42 KB
very good minimax depth posloupnost without e...
Python | 35 min ago | 3.35 KB
ДЗ Поликлиника
C# | 41 min ago | 0.98 KB
Untitled
HTML | 46 min ago | 2.11 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!