]> ruin.nu Git - ndwebbie.git/blobdiff - root/src/forum/board.tt2
Move markitup to an include file and use for both board and thread
[ndwebbie.git] / root / src / forum / board.tt2
index f158e6548e3b6fd69275235d7be1fb00c27b2491..a0cdafe85de2e8a539707f21afff67931a31093e 100644 (file)
 [% IF board.post %]
 <form action="[% c.uri_for('newThread',board.fbid) %]" method="post"><fieldset class="forum-post"> <legend>New Thread</legend>
        <p>Subject: <input type="text" name="subject" value=""></p>
-       <textarea rows="25" cols="60" name="message"></textarea>
+       <textarea rows="25" cols="60" name="message" class="bbcode"></textarea>
        <br>
        <input type="submit" name="cmd" value="Submit">
        <input type="submit" name="cmd" value="Preview">
 </fieldset></form>
+
+[% INCLUDE inc/markitup.tt2 %]
 [% END %]