Consistent, concise styling of datables

Add a semantic class to aggregate bootstrap classes and consistently
applyt them to all datatables.
This commit is contained in:
James Mason 2018-06-15 18:20:18 -07:00
parent 3bb73f27cf
commit 4ecf078db6
25 changed files with 47 additions and 25 deletions

View file

@ -7,7 +7,7 @@
- if @conference.resources.any?
.row
.col-md-12
%table.table.table-hover.datatable
%table.datatable
%thead
%th Name
%th Left( Left/Total )
@ -33,4 +33,3 @@
.row
.col-md-12
= link_to 'Add Resource', new_admin_conference_resource_path, class: 'btn btn-success pull-right', disabled: !(can? :create, Resource.new(conference_id: @conference_id))