Edit {%s util.BeautifulName(hyphaName) %} (preview)
+Edit {%s util.BeautifulName(hyphaName) %}
{%s= warning %} -Note that the hypha is not saved yet. You can preview the changes ↓
+Note that the hypha hasn't been saved yet. Here's the preview:
diff --git a/static/default.css b/static/default.css index b83d0ad..edd168e 100644 --- a/static/default.css +++ b/static/default.css @@ -117,7 +117,6 @@ textarea {font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif; .edit__preview { border: 2px dashed #ddd; } .edit-form { height: calc(100vh - 12rem); } .edit-form__textarea { width: 100%; height: calc(100% - 8rem); min-height: 4rem; } -.edit-form label { font-style: italic; } .edit-form__message { width: 100%; margin: 0.25em 0; } .edit-form__save { font-weight: bold; } .edit-toolbar__buttons, .edit-toolbar__ad { margin: .5rem; } diff --git a/views/mutators.qtpl b/views/mutators.qtpl index 0d0cc1a..9c9dd90 100644 --- a/views/mutators.qtpl +++ b/views/mutators.qtpl @@ -95,20 +95,20 @@ {%s= NavHTML(rq, hyphaName, "edit") %}
Note that the hypha is not saved yet. You can preview the changes ↓
+Note that the hypha hasn't been saved yet. Here's the preview: