mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Remove whitespace from css_class template helper.
This commit is contained in:
@@ -53,9 +53,7 @@
|
||||
id="${arg}_${thing and thing._fullname or ''}"
|
||||
</%def>
|
||||
|
||||
<%def name="css_class(thing)">
|
||||
${' '+thing.css_class if hasattr(thing, 'css_class') and thing.css_class else ''}
|
||||
</%def>
|
||||
<%def name="css_class(thing)">${' '+thing.css_class if hasattr(thing, 'css_class') and thing.css_class else ''}</%def>
|
||||
|
||||
<%def name="submit_form(onsubmit='', action='', _class='', method='post', _id='', **params)">
|
||||
<form class="${_class or ''}" onsubmit="${onsubmit or ''}"
|
||||
|
||||
Reference in New Issue
Block a user