Class: CS50::NextTag
Instance Method Summary collapse
Methods included from Mixins
Instance Method Details
#render(context) ⇒ Object
280 281 282 283 284 |
# File 'lib/jekyll-theme-cs50.rb', line 280 def render(context) super = CS50::sanitize(CS50::convert((@args[0]) ? CGI.escapeHTML(@args[0]) : "Next")) "<button class='btn btn-dark btn-sm' data-next type='button'>#{button}</button>" end |