Replace add userby email textinput in admin/roles#show with searchable combobox
This commit is contained in:
parent
877402e837
commit
2f1052df1a
7 changed files with 16 additions and 2 deletions
|
|
@ -40,6 +40,8 @@
|
|||
//= require osem-commercials
|
||||
//= require unobtrusive_flash
|
||||
//= require unobtrusive_flash_bootstrap
|
||||
//= require bootstrap-select
|
||||
//= require osem-selectpicker
|
||||
|
||||
$(document).ready(function() {
|
||||
$('a[disabled=disabled]').click(function(event){
|
||||
|
|
|
|||
3
app/assets/javascripts/osem-selectpicker.js
Normal file
3
app/assets/javascripts/osem-selectpicker.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$(function () {
|
||||
$('.selectpicker').selectpicker();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue