From d0e612c16726728049ac2cb589910b92946d27aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 29 Oct 2014 16:11:32 -0400 Subject: [PATCH] opportunity: prettier meetup participation form MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- contrib/opportunity/src/templates/meetup.nit | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/contrib/opportunity/src/templates/meetup.nit b/contrib/opportunity/src/templates/meetup.nit index a06a072..98ca32f 100644 --- a/contrib/opportunity/src/templates/meetup.nit +++ b/contrib/opportunity/src/templates/meetup.nit @@ -152,17 +152,16 @@ redef class Meetup """ - t.add "" - t.add "" + t.add "" for i in answers(db) do - t.add "" end + t.add "" t.add "" for i in participants(db) do t.add "" - t.add """""" i.load_answers(db, self) t.add "" end + t.add """""" t.add "" end t.add """ - """ for i in answers(db) do t.add "" end + t.add """ + """ t.add "" t.add "
ParticipatingParticipant name" + t.add "" t.add i.to_s t.add "
" t.add i.to_s @@ -182,16 +181,18 @@ redef class Meetup end t.add "
✘
" return t -- 1.7.9.5