]> Dogcows Code - chaz/chatty/blob - root/tt/chat/view.tt
create, list, and room viewing implemented
[chaz/chatty] / root / tt / chat / view.tt
1 [% META title = 'Live' -%]
2 [% BLOCK js -%]
3 $('form').validationEngine();
4 [% END -%]
5 <h1>Room: [% room.name %]</h1>
6 [% IF messages.count == 0 -%]
7 [% FOREACH msg IN messages -%]
8 <p>[% msg.author.username %] ([% msg.posted %]): [% msg.content %]</p>
9 [% END -%]
10 [% ELSE -%]
11 <p>No messages, yet.</p>
12 [% END -%]
13 [% form.render -%]
This page took 0.034161 seconds and 4 git commands to generate.