app/helpers/cm_admin/application_helper.rb in cm-admin-1.1.9 vs app/helpers/cm_admin/application_helper.rb in cm-admin-1.2.0
- old
+ new
@@ -31,12 +31,12 @@
end
end
end
def error_header
- content_tag :div, class: 'info-split' do
- concat content_tag(:div, "Row number", class: 'info-split__lhs')
+ content_tag :div, class: 'card-info' do
+ concat content_tag(:div, "Row number", class: 'card-info__label')
concat content_tag(:div, "Error")
end
end
def error_items(invalid_rows)
@@ -46,11 +46,11 @@
end
end
end
def format_error_item(row_item)
- content_tag :div, class: 'info-split' do
- concat content_tag(:div, row_item[0], class: 'info-split__lhs')
+ content_tag :div, class: 'info-point' do
+ concat content_tag(:div, row_item[0], class: 'card-info__label')
concat format_error(row_item[2])
end
end
def format_error(errors)