From 57c573903f57b697d0ccd9655c9084a75bc0aebe Mon Sep 17 00:00:00 2001 From: Andre D Date: Mon, 20 May 2013 19:26:19 -0700 Subject: [PATCH] formattinghelp: Move markdown help into a function. --- r2/r2/templates/usertext.html | 136 +++++++++++++++++----------------- 1 file changed, 70 insertions(+), 66 deletions(-) diff --git a/r2/r2/templates/usertext.html b/r2/r2/templates/usertext.html index 604f9f0d4..bf9195f1e 100644 --- a/r2/r2/templates/usertext.html +++ b/r2/r2/templates/usertext.html @@ -29,6 +29,75 @@ <%namespace file="printablebuttons.html" import="toggle_button" /> <%namespace file="utils.html" import="error_field, md"/> +<%def name="markhelp()"> + + + <%def name="action_button(name, btn_type, onclick, display)">