diff --git a/lms/templates/admin/instance.html.jinja2 b/lms/templates/admin/instance.html.jinja2 index 5863fbc34f..852ff92e0e 100644 --- a/lms/templates/admin/instance.html.jinja2 +++ b/lms/templates/admin/instance.html.jinja2 @@ -32,7 +32,8 @@ {% macro settings_textarea(label, setting, sub_setting, field_name, default='') %} {% call macros.field_body(label) %} - + {% set text = instance.settings.get(setting, sub_setting, default) or '' %} + {% endcall %} {% endmacro %} @@ -51,6 +52,14 @@
+
+ {{ settings_textarea("Notes", "hypothesis", "notes") }} + {{ macros.disabled_text_field("Consumer key", instance.consumer_key) }} + {{ macros.form_text_field(request, "Deployment ID", "deployment_id", field_value=instance.deployment_id) }} + {{ macros.form_text_field(request, "LMS URL", "lms_url", field_value=instance.lms_url) }} +
+ +
Organization {{ macros.organization_preview(request, instance.organization) }} @@ -61,12 +70,6 @@ {{ macros.registration_preview(request, instance.lti_registration) }}
-
- {{ macros.disabled_text_field("Consumer key", instance.consumer_key) }} - {{ macros.form_text_field(request, "Deployment ID", "deployment_id", field_value=instance.deployment_id) }} - {{ macros.form_text_field(request, "LMS URL", "lms_url", field_value=instance.lms_url) }} -
-
Tool Consumer {{ macros.disabled_text_field("GUID", instance.tool_consumer_instance_guid) }} @@ -141,7 +144,6 @@ {{ settings_text_field("JSTOR site code", "jstor", "site_code") }}
- {{ settings_textarea("Notes", "hypothesis", "notes") }} {{ macros.created_updated_fields(instance) }}