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 dda6587ed3
commit 05c103b189
No known key found for this signature in database
GPG key ID: 1B3951886C449023
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))