extends ../layouts/main block content section.uk-section.uk-section-default.uk-section-small .uk-container h1 Settings form(method="POST", action=`/user/core/${userProfile._id}/settings`, onsubmit="return dtp.app.submitForm(event, 'user account update');").uk-form .uk-margin label(for="theme").uk-form-label UI Theme select(id="theme", name="theme").uk-select option(value="dtp-light", selected= user ? userProfile.theme === 'dtp-light' : true) Light Mode option(value="dtp-dark", selected= user ? userProfile.theme === 'dtp-dark' : false) Dark Mode .uk-margin button(type="submit").uk-button.uk-button-primary Update settings