liquid_feedback_frontend
view env/ui/titleAdmin.lua @ 1748:8d7c4d542c3d
Correctly store answer option for checkboxes
| author | bsw | 
|---|---|
| date | Mon Oct 11 10:55:14 2021 +0200 (2021-10-11) | 
| parents | a17ad625ffbc | 
| children | 
 line source
     1 function ui.titleAdmin(title)
     2   ui.title(function()
     3     if title then
     4       ui.link { module = "admin", view = "index", content = _"System settings" }
     5     else
     6       ui.tag{ content = _"System settings" }
     7     end
     8     if title then
     9       slot.put ( " ยป " )
    10       ui.tag { tag = "span", content = title }
    11     end
    12   end)
    13 end
