diff options
| -rw-r--r-- | templates/rsvp.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/templates/rsvp.html b/templates/rsvp.html index 63f4ece..6ae08f4 100644 --- a/templates/rsvp.html +++ b/templates/rsvp.html @@ -7,43 +7,43 @@ {% for message in messages %} <div class="row"> <div class="alert alert-success col-md-9"> - <strong>Success! </strong>{{message}} + <strong>{{_("Success!")}} </strong>{{message}} </div> {% endfor %} </div> {% endif %} {% endwith %} <div class="form-group"> - <label for="name" class="col-md-4 control-label">Username:</label> + <label for="name" class="col-md-4 control-label">{{_("Username:")}}</label> <div class="col-md-5"> <p class="form-control-static">{{form['user_name']}}</p> </div> </div> <div class="form-group"> - <label for="fullname" class="col-md-4 control-label">Full Name:</label> + <label for="fullname" class="col-md-4 control-label">{{_("Full Name:")}}</label> <div class="col-md-5"> <input type="text" id="fullname" class="form-control" name="full_name" placeholder="Your full name" value="{{form['full_name'] if form['full_name']}}"/> </div> </div> <p> - Will you be able to make it to our wedding? + {{_("Will you be able to make it to our wedding?")}} </p> <div class="form-group"> - <label for="rsvp" class="col-md-4 control-label">RSVP:</label> + <label for="rsvp" class="col-md-4 control-label">{{_("RSVP:")}}</label> <div class="col-md-5"> <label class="radio-inline"> <input type="radio" value="1" name="rsvp" - {%if form['rsvp'] %}checked {% endif %}>Yes + {%if form['rsvp'] %}checked {% endif %}>{{_("Yes")}} </label> <label class="radio-inline"> <input type="radio" value="0" name="rsvp" - {%if not form['rsvp'] %}checked {% endif %}>No + {%if not form['rsvp'] %}checked {% endif %}>{{_("No")}} </label> </div> </div> <div class="form-group"> - <label for="email" class="col-md-4 control-label">Email:</label> + <label for="email" class="col-md-4 control-label">{{_("Email:")}}</label> <div class="col-md-5"> <input type="email" id="email" class="form-control" name="email" placeholder="email" @@ -52,7 +52,7 @@ </div> </div> <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">Mailing Address:</label> + <label for="mailing" class="col-md-4 control-label">{{_("Mailing Address:")}}</label> <div class="col-md-5"> <textarea id="mailing" name="mailing" placeholder="Your mailing address" @@ -68,11 +68,11 @@ <div class="col-md-5"> <label class="radio-inline"> <input id="plusoneyes" type="radio" value="1" name="plusone" - {%if form['plusone'] %}checked {% endif %} >Yes + {%if form['plusone'] %}checked {% endif %} >{{_("Yes")}} </label> <label class="radio-inline"> <input id="plusoneno" type="radio" value="0" name="plusone" - {%if not form['plusone'] %}checked {% endif %}>No + {%if not form['plusone'] %}checked {% endif %}>{{_("No")}} </label> </div> </div> @@ -86,18 +86,18 @@ </div> </div> <p> - Will you be coming with kids? + {{_("Will you be coming with kids?")}} </p> <div class="form-group"> - <label for="plusone" class="col-md-4 control-label">Kids:</label> + <label for="plusone" class="col-md-4 control-label">{{_("Kids:")}}</label> <div class="col-md-5"> <label class="radio-inline"> <input id="kidsyes" type="radio" value="1" name="kids" - {%if form['kids'] %}checked {% endif %}>Yes + {%if form['kids'] %}checked {% endif %}>{{_("Yes")}} </label> <label class="radio-inline"> <input id="kidsno" type="radio" value="0" name="kids" - {%if not form['kids'] %}checked {% endif %}>No + {%if not form['kids'] %}checked {% endif %}>{{_("No")}} </label> </div> </div> @@ -110,11 +110,11 @@ </div> </div> <p> - Please let us know if you have any dietary restrictions or comments: + {{_("Please let us know if you have any dietary restrictions or comments:")}} </p> <div class="form-group"> - <label for="mailing" class="col-md-4 control-label">Comments:</label> + <label for="mailing" class="col-md-4 control-label">{{_("Comments:")}}</label> <div class="col-md-5"> <textarea id="comments" name="comments" placeholder="Your comments" class="form-control" rows="3">{{form['comments'] if form['comments']}}</textarea> @@ -123,7 +123,7 @@ <div class="form-group"> <div class="col-md-offset-4 col-md-5"> <button type="submit" class="btn btn-primary"> - Update + {{_("Update")}} </button> </div> </div> |
