lib/cm_admin/view_helpers.rb in cm-admin-0.3.0 vs lib/cm_admin/view_helpers.rb in cm-admin-0.4.0

- old
+ new

@@ -4,10 +4,13 @@ include PageInfoHelper include NavigationHelper include FormHelper include ColumnFieldHelper + include FieldDisplayHelper + include FilterHelper + include ManageColumnPopupHelper include ActionView::Helpers::FormTagHelper include ActionView::Helpers::TagHelper def exportable(klass, html_class: []) tag.a "Export as excel", class: html_class.append("filter-btn modal-btn mr-2"), data: {toggle: "modal", target: "#exportmodal"} do @@ -65,8 +68,7 @@ tag.div class: "col-md-4" do concat check_box_tag "columns[]", column_path, id: column_path.to_s.gsub('/', '-') concat " " + column_path.to_s.gsub('/', '_').humanize end end - end end