{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}Libreddit Settings{% endblock %} {% block search %} {% call utils::search("".to_owned(), "", "") %} {% endblock %} {% block body %} <main> <form id="settings" action="/settings" method="POST"> <div id="prefs"> <label for="layout">Layout:</label> <select name="layout"> {% call utils::options(layout, ["card", "clean", "compact"], "clean") %} </select> </div> <input id="save" type="submit" value="Save"> </form> </main> {% endblock %}