mirror of
https://github.com/ae-utbm/sith.git
synced 2024-12-26 17:51:24 +00:00
That's just a ridiculous little fix
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
ce46a9d9da
commit
a89fb23d33
@ -78,7 +78,7 @@ class MarkdownInput(Textarea):
|
||||
def render(self, name, value, attrs=None):
|
||||
output = '<p><a href="%(syntax_url)s">%(help_text)s</a></p>'\
|
||||
'<div class="markdown_editor">%(content)s</div>' % {
|
||||
'syntax_url': Page.get_page_by_full_name(settings.SITH_CORE_PAGE_SYNTAX),
|
||||
'syntax_url': Page.get_page_by_full_name(settings.SITH_CORE_PAGE_SYNTAX).get_absolute_url(),
|
||||
'help_text': _("Help on the syntax"),
|
||||
'content': super(MarkdownInput, self).render(name, value, attrs),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user