aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-16 15:59:58 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-17 17:14:46 +0100
commit4feade4f34c75021b5b9d82d3ddfaaf9605f95ec (patch)
tree03469e7c7466af206cb49e8fc5460c1c34c8bf82
parent633f976d469e1f63488970652ef3b5c4c73fc806 (diff)
if there is a current draft use details on offline page
-rw-r--r--www/templates/en/offline.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/en/offline.html b/www/templates/en/offline.html
index ebf16db..4c568ec 100644
--- a/www/templates/en/offline.html
+++ b/www/templates/en/offline.html
@@ -9,9 +9,9 @@
Sorry, there doesn't seem to be any internet connection. You can save this report for sending later though
</p>
- <input type="text" value="" name="title" id="form_title" placeholder="Provide a title" required>
+ <input type="text" value="<% title %>" name="title" id="form_title" placeholder="Provide a title" required>
- <textarea rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required></textarea>
+ <textarea rows="7" cols="26" name="detail" id="form_detail" placeholder="Please fill in details of the problem." required><% details %></textarea>
<% if ( file != '' ) { %>
<div id="add_photo" style="display: none">