X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=root%2Ftt%2Fwrapper.tt;h=f4d497f9e55c81e9939d2c1b4a3d7ae63886ba02;hb=b1babc5fbdaf0cfe573d1a126b9a6d88deb64352;hp=7599375496479d2ef5ef3f76523a27faca3f2e14;hpb=9b343fd3d0f46473e2f5804ac09caeaed95e4283;p=chaz%2Fchatty diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index 7599375..f4d497f 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -5,19 +5,29 @@ + Chatty - [% template.title or 'Toy chat application written in Perl/Catalyst' %]
[% IF error -%] -

[% error %]

+
+ [% error %] +
[% END -%] [% IF message -%] -

[% message %]

+
+ [% message %] +
[% END -%]
-[% content %] -
+
+[% IF c.user_exists -%] + Log Out +[% END -%] +
+ Chat! +[% content -%]
- + + +