X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=root%2Ftt%2Fwrapper.tt;h=f4d497f9e55c81e9939d2c1b4a3d7ae63886ba02;hb=b1babc5fbdaf0cfe573d1a126b9a6d88deb64352;hp=951a19e4fb007c5bb161ff8e7f595c7e81736687;hpb=ce10e1dfe911071e99c51edbcd34b74b2615f847;p=chaz%2Fchatty diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index 951a19e..f4d497f 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -4,24 +4,61 @@ - + + Chatty - [% template.title or 'Toy chat application written in Perl/Catalyst' %]
+[% IF error -%] +
+ [% error %] +
+[% END -%] +[% IF message -%] +
+ [% message %] +
+[% END -%]
-[% content %] -
+
+[% IF c.user_exists -%] + Log Out +[% END -%] +
+ Chat! +[% content -%]
- + + + +