better formatting for RSVPs

This commit is contained in:
Evan Prodromou
2011-03-16 17:51:27 -04:00
parent ba2a246951
commit 29a4bb4d91
3 changed files with 97 additions and 6 deletions

View File

@@ -324,7 +324,11 @@ class EventPlugin extends MicroappPlugin
function showRSVPNotice($notice, $out)
{
$out->raw($notice->rendered);
$rsvp = RSVP::fromNotice($notice);
$out->elementStart('div', 'rsvp');
$out->raw($rsvp->asHTML());
$out->elementEnd('div');
return;
}