best_in_place icon indicating copy to clipboard operation
best_in_place copied to clipboard

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem

Results 106 best_in_place issues
Sort by recently updated
recently updated
newest added

Hi, I want to specify data-url with :url attribute as ``` :textarea,:url=>protip_update_profile_path(@profile),:ok_button=>'save', :html_attrs => { :style => 'width:100%; height:200px;' }, :ok_button_class=>"btn btn-primary", :nil=>'add you protip here',cancel_button:"cancel",cancel_button_class:"btn",use_confirm:false%> ``` However, the data-url...

Am using the recommended: = best_in_place @user, :name, :classes => 'highlight_on_success' But I'm not getting any response from it with $('.highlight_on_success').bind("ajax:success", function(){$(this).closest('tr').effect('highlight');}); If I use straight $('.best_in_place').bind("ajax:success", function(){$(this).closest('tr').effect('highlight');}); This works,...

Function `setHtmlAttributes` , defined as follows: ``` javascript setHtmlAttributes: function () { 'use strict'; var formField = this.element.find(this.formType); if (this.html_attrs) { var attrs = this.html_attrs; $.each(attrs, function (key, val) {...

I'm trying to use a form input with type number. This small patch solves the issue. This is my first pull request so I don't know if this is a...

I'd like to use `input type="date"` from HTML 5 instead of jQuery UI Datepicker, and fallback to jQuery UI Datepicker, like so: ``` javascript $(document).on('turbolinks:load', function() { if ($('[type="date"]').prop('type') !=...

So i have this code in my view: > > :select, :collection => my_coll, :value => @rentable.rentable_category.id %> The variable my_coll has this hash: {"29"=>"Parties", "30"=>"Media", "27"=>"Camping Gear", "26"=>"Home Improvement"}...

Following this tutorial https://www.youtube.com/watch?v=c2qwV0B9yfU from Ryan Bates. I implemented HABTM Checkboxes. The problem is that i can't get it working with best_in_place gem. I've tried 300 different ways and none...

Hi! If I active the select of best_in_place starting from the text, and not I make any changes to the displayed value , when I go out from select or...

I saw the guide on github and tried like this. ``` v = 100 best_in_place v, :to_i, as: :input, url: set_stock_ice_cream_path(flavour: flavour, size: size) ``` but it shows error like...