diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-21 21:10:47 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-21 21:13:13 -0400 |
| commit | e9c28b973b450e88d1536ab0886d2a52fdc6e6a1 (patch) | |
| tree | b3e9dfdc519e512aeb1087f7a05076adb6a32499 | |
| parent | 61b3e2bc2b7b3b4abdd9c5738ea336dea903e90a (diff) | |
| download | wedding-website-e9c28b973b450e88d1536ab0886d2a52fdc6e6a1.tar.gz | |
do not show none
| -rw-r--r-- | templates/en/rsvp.htm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/en/rsvp.htm b/templates/en/rsvp.htm index 5d584d0..5d10456 100644 --- a/templates/en/rsvp.htm +++ b/templates/en/rsvp.htm @@ -106,8 +106,7 @@ <div class="col-md-5"> <textarea id="kidsnames" name="kidsnames" placeholder="Your kids' names" class="form-control" rows="3" - {%if not form['kids']%} disabled{% endif %}>{{form['kidsnames']}} - </textarea> + {%if not form['kids']%} disabled{% endif %}>{{form['kidsnames'] if form['kidsnames']}}</textarea> </div> </div> <p style="text-indent:3em"> @@ -118,7 +117,7 @@ <label for="mailing" class="col-md-2 control-label">Comments:</label> <div class="col-md-5"> <textarea id="comments" name="comments" placeholder="Your comments" - class="form-control" rows="3">{{form['comments']}}</textarea> + class="form-control" rows="3">{{form['comments'] if form['comments']}}</textarea> </div> </div> <div class="form-group"> |
