mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Minor search fixes
This commit is contained in:
parent
02e7b1dcab
commit
28a1544cc0
3 changed files with 13 additions and 6 deletions
|
|
@ -86,5 +86,8 @@ proc genSelect*(pref, label, state: string; options: seq[string]): VNode =
|
|||
|
||||
proc genDate*(pref, state: string): VNode =
|
||||
buildHtml(span(class="date-input")):
|
||||
verbatim &"<input name={pref} type=\"date\" value=\"{state}\"/>"
|
||||
if state.len > 0:
|
||||
verbatim &"<input name={pref} type=\"date\" value=\"{state}\"/>"
|
||||
else:
|
||||
verbatim &"<input name={pref} type=\"date\"/>"
|
||||
icon "calendar"
|
||||
|
|
|
|||
Loading…
Reference in a new issue