How can I use ruby on rails input field selector?

10 views
Skip to first unread message

Shabbir Ahmed

unread,
Jan 17, 2016, 2:28:47 AM1/17/16
to rubyonra...@googlegroups.com
How can I use ruby on rails input field selector?

This is form:

<input id="user_user_name" class="form-control" type="text"
name="user[user_name]" placeholder="Company Name">

Jquery

user_user_name:{
validators: {
notEmpty: {
message: 'The company name is required and
cannot be empty'
}
}
},

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages