Fix typo and boostrap load order

This commit is contained in:
aignatov-bio 2020-01-08 12:07:33 +01:00
parent 68646276f5
commit 5953c2543d
4 changed files with 15 additions and 14 deletions

View file

@ -7,7 +7,18 @@
*= stub reports_pdf
*/
@import "shared_styles/global_elements";
@import "shared_styles/constants/*";
@import "constants";
@import "bootstrap-sprockets";
@import "bootstrap";
@import "bootstrap-datetimepicker";
@import "bootstrap-colorselector";
@import "bootstrap-tagsinput";
@import "bootstrap-tagsinput-typeahead";
@import "shared_styles/elements/*";
@import "handsontable.full.min";
@import "ajax-bootstrap-select.min";

View file

@ -1,16 +1,6 @@
// scss-lint:disable Comment
@import "constants/*";
@import "../constants";
@import "bootstrap-sprockets";
@import "bootstrap";
@import "bootstrap-datetimepicker";
@import "bootstrap-colorselector";
@import "bootstrap-tagsinput";
@import "bootstrap-tagsinput-typeahead";
@import "elements/*";
// Examples

View file

@ -8,7 +8,7 @@
<div class="checkbox-tree">
<ul>
<li>
<%= form.custom_check_box :experiment_all, label: experiment.name %>
<%= form.check_box :experiment_all, label: experiment.name %>
<ul>
<% experiment.my_module_groups.each do |my_module_group| %>
@ -24,7 +24,7 @@
<!-- Tasks without groups -->
<% experiment.my_modules.without_group.each do |my_module| %>
<li>
<%= form.custom_check_box "modules[#{my_module.id}]", label: my_module.name %>
<%= form.check_box "modules[#{my_module.id}]", label: my_module.name %>
</li>
<% end %>

View file

@ -43,7 +43,7 @@
<%= collection_select(:user_my_module, :user_id, @unassigned_users, :id, :full_name, {}, { class: 'selectpicker' }) %>
</div>
<div class="col-xs-2">
<%= f.button class: 'btn btn btn-primary' do %>
<%= f.button class: 'btn btn-primary' do %>
<span class="fas fa-plus"></span>
<span class="hidden-xs"><%= t("experiments.canvas.full_zoom.modal_manage_users.create") %></span>
<% end %>