mixin renderRoomList (rooms, options) ul#room-list.uk-nav.uk-nav-default li.uk-nav-header div(uk-grid).uk-grid-small .uk-text-bold.uk-width-expand= options.title if !options.hideCreate .uk-width-auto a(href='/chat/room/create', title= "Create new chat room...").uk-link-reset i.fas.fa-plus if Array.isArray(rooms) && (rooms.length > 0) each room in rooms li.uk-active a(href=`/chat/room/${room._id}`)= room.name else li= options.emptyPrompt