diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-21 23:26:44 -0400 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2015-03-21 23:26:44 -0400 |
| commit | 508e68ccfccc606b0ea3f4f68e03cbc2377e9443 (patch) | |
| tree | a2ea3e4c7322d4f6efd502e9817ee8b03b882460 /templates | |
| parent | e9c28b973b450e88d1536ab0886d2a52fdc6e6a1 (diff) | |
| download | wedding-website-508e68ccfccc606b0ea3f4f68e03cbc2377e9443.tar.gz | |
form's logic almost working
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/en/rsvp.htm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/en/rsvp.htm b/templates/en/rsvp.htm index 5d10456..b190ffc 100644 --- a/templates/en/rsvp.htm +++ b/templates/en/rsvp.htm @@ -23,21 +23,21 @@ <label for="fullname" class="col-md-2 control-label">Full Name:</label> <div class="col-md-5"> <input type="text" id="fullname" class="form-control" - name="fullname" placeholder="Your full name" value="{{form['full_name'] if form['full_name']}}"/> + name="full_name" placeholder="Your full name" value="{{form['full_name'] if form['full_name']}}"/> </div> </div> <p style="text-indent:3em"> Will you be able to make it to our wedding? </p> <div class="form-group"> - <label for="answer" class="col-md-2 control-label">RSVP:</label> + <label for="rsvp" class="col-md-2 control-label">RSVP:</label> <div class="col-md-9"> <label class="radio-inline"> - <input type="radio" value="1" name="answer" + <input type="radio" value="1" name="rsvp" {%if form['rsvp'] %}checked {% endif %}>Yes </label> <label class="radio-inline"> - <input type="radio" value="0" name="answer" + <input type="radio" value="0" name="rsvp" {%if not form['rsvp'] %}checked {% endif %}>No </label> </div> @@ -122,7 +122,7 @@ </div> <div class="form-group"> <div class="col-md-offset-2 col-md-5"> - <button type="submit" class="btn btn-primary" name="rsvp"> + <button type="submit" class="btn btn-primary"> Update </button> </div> |
