Source

The Maggot / src / templates / corpus.tmpl

Full commit
#include "templates/header.tmpl"    
    <h3>corpus: $corpus.name</h3>
    <h3>round $corpus.current_round_index</h3>
    <h3>antecedent chunk:</h3>
    <p style="font-style:italic;">$lastchunk</p>
    <h3>write:</h3>
    <form action="addchunk" method="POST">
        <textarea name="text" style="width:100%">
        </textarea>
        <input type="hidden" name="cid" value="$corpus.id" />
        <input type="submit" value="Submit" />
    </form>
    #if $nextchunk
    <h3>decendent chunk:</h3>
    <p style="font-style:italic;">$nextchunk</p>
    #end if
#include "templates/footer.tmpl"