class AdminUI::Filter
Table rendering classes
Attributes
Public Class Methods
Source
# File app/lib/ui/table.rb, line 391 def initialize(label, value, match: false) @label = label @value = value @match = match end
Public Instance Methods
Source
# File app/lib/ui/table.rb, line 397 def render %( <span class='filter'> <input class='filter' type='checkbox' id='filter-#{@value}' value='#{@value}' match='#{@match}'/> <label for='semantic'>#{label}</label> </span> ) end