~chipaca/unity-lens-video/custom-user-agent

« back to all changes in this revision

Viewing changes to templates/main/post.html

  • Committer: Janos Gyerik
  • Date: 2012-01-28 08:18:03 UTC
  • Revision ID: janos@axiom-20120128081803-huv2kp0wnvq2fktz
use markdown instead of homebrew nst for formatting explanation and limitations texts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{% extends "base.html" %}
2
2
 
3
 
{% load nst %}
4
 
 
5
3
{% block pagetitle %}{{ form.title }}{% endblock %}
6
4
 
7
5
{% block keywords %}{% endblock %}
44
42
        </div>
45
43
        
46
44
        <h3>Explanation<span class="required">*</span></h3>
47
 
        <div class="hint">Try to use relevant keywords in the explanation, so that the one-liner is easier to find by search.</div>
 
45
        <div class="hint">Try to use relevant keywords in the explanation, so that the one-liner is easier to find by search.
 
46
            <br/>Note: any html will be escaped, and the text will be formatted with <a class="markdown" href="http://daringfireball.net/projects/markdown/syntax">markdown</a>.
 
47
        </div>
48
48
        <div class="input">
49
49
            <div class="error">{{ form.explanation.errors }}</div>
50
50
            <div class="explanation">{{ form.explanation }}</div>
51
51
        </div>
52
52
        
53
53
        <h3>Limitations (optional)</h3>
54
 
        <div class="hint">For example, if the one-liner might not work in some flavors of UNIX, etc.</div>
 
54
        <div class="hint">For example, if the one-liner might not work in some flavors of UNIX, etc.
 
55
            <br/>Note: any html will be escaped, and the text will be formatted with <a class="markdown" href="http://daringfireball.net/projects/markdown/syntax">markdown</a>.
55
56
        <div class="input">
56
57
            <div class="error">{{ form.limitations.errors }}</div>
57
58
            <div class="limitations">{{ form.limitations }}</div>