bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 571 forks source link

html_attrs propagates attributes to ok and cancel button #529

Open wbotelhos opened 8 years ago

wbotelhos commented 8 years ago

Code:

html_attrs: {
  maxlength:   9,
  placeholder: 'R$'
}

Result:

screen shot 2016-02-03 at 1 07 57 am

Is there a way to apply only on input field: