diff --git a/edit/index.cpp b/edit/index.cpp index eaeca59bb..aa3a5c84e 100644 --- a/edit/index.cpp +++ b/edit/index.cpp @@ -177,6 +177,10 @@ std::string edit_index (Webserver_Request& webserver_request) } + // Whether to enable spell check. + view.set_variable ("spellcheck", filter::strings::convert_to_true_false(webserver_request.database_config_user ()->get_enable_spell_check())); + + page += view.render ("edit", "index"); diff --git a/edit/index.html b/edit/index.html index 0df638c55..fbc6966b3 100644 --- a/edit/index.html +++ b/edit/index.html @@ -29,7 +29,7 @@ -
+