lib/generators/dry_crud/templates/app/helpers/standard_table_builder.rb
def current_mark(attr)
      if current_sort?(attr)
        (sort_dir(attr) == 'asc' ? ' &uarr;' : ' &darr;').html_safe
      else
        ''
      end
    end
# The sort mark, if any, for the given attribute.
The sort mark, if any, for the given attribute.
The sort mark if any for the given attribute .
def current_mark(attr)
      if current_sort?(attr)
        (sort_dir(attr) == 'asc' ? ' &uarr;' : ' &darr;').html_safe
      else
        ''
      end
    end
def current_mark ( attr ) if current_sort? ( attr ) ( sort_dir ( attr ) == 'asc' ? ' &uarr;' : ' &darr;' ) . html_safe else '' end end
The sort mark, if any, for the given attribute.
The sort mark if any for the given attribute .
attr