Almost works, just need to figure one thing out.
gem 'jquery-rails'
gem 'bootstrap-sass', '~> 3.1.0'
-gem 'bootstrap-editable-rails'
+gem 'bootstrap-x-editable-rails'
gem 'less'
gem 'less-rails'
multi_json (~> 1.0)
andand (1.3.3)
arel (3.0.2)
- bootstrap-editable-rails (0.0.5)
- railties (>= 3.1)
bootstrap-sass (3.1.0.1)
sass (~> 3.2)
+ bootstrap-x-editable-rails (1.5.1.1)
+ railties (>= 3.0)
builder (3.0.4)
capistrano (2.15.5)
highline
DEPENDENCIES
RedCloth
andand
- bootstrap-editable-rails
bootstrap-sass (~> 3.1.0)
+ bootstrap-x-editable-rails
coffee-rails (~> 3.2.0)
httpclient
jquery-rails
//= require bootstrap
//= require bootstrap/dropdown
//= require bootstrap/tab
-//= require bootstrap-editable
-//= require bootstrap-editable-rails
+//= require bootstrap/tooltip
+//= require bootstrap/popover
+//= require bootstrap3-editable/bootstrap-editable
//= require_tree .
jQuery(function($){
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
- *= require bootstrap-editable
+ *= require bootstrap
+ *= require bootstrap3-editable/bootstrap-editable
*= require_tree .
*/
-@import "bootstrap";
-
.contain-align-left {
text-align: left;
}
-// http://codepen.io/alucard11/pen/IxLDJ
+/* http://codepen.io/alucard11/pen/IxLDJ */
.loading {
background: #1b1b1b;
"data-emptytext" => "none",
"data-placement" => "bottom",
"data-type" => input_type,
- "data-resource" => object.class.to_s.underscore,
"data-name" => attr,
+ "data-pk" => object.uuid,
"data-url" => url_for(action: "update", id: object.uuid, controller: object.class.to_s.pluralize.underscore),
- "data-original-title" => "Update #{attr.gsub '_', ' '}",
+ "data-title" => "Update #{attr.gsub '_', ' '}",
:class => "editable"
}.merge(htmloptions)
end