put contact form in app payments template
This commit is contained in:
Родитель
02c0c87bf0
Коммит
38a471c8f8
|
@ -15,9 +15,64 @@
|
|||
{{ csrf() }}
|
||||
<p>{{ loc("Your PayPal account is all set up! The last thing we need is
|
||||
your real name and contact information.") }}</p>
|
||||
<p>
|
||||
{{ form.as_p() }}
|
||||
</p>
|
||||
<fieldset class="contact">
|
||||
<div class="row">
|
||||
<div class="field">
|
||||
{{ form.first_name.label_tag() }}
|
||||
{{ form.first_name }}
|
||||
{{ form.first_name.errors }}
|
||||
</div>
|
||||
<div class="field">
|
||||
{{ form.last_name.label_tag() }}
|
||||
{{ form.last_name }}
|
||||
{{ form.last_name.errors }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row wide">
|
||||
<div class="field">
|
||||
<label for="id_address_one">Address</label>
|
||||
{{ form.address_one }}
|
||||
{{ form.address_one.errors }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row wide">
|
||||
<div class="field">
|
||||
{{ form.address_two }}
|
||||
{{ form.address_two.errors }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="field">
|
||||
{{ form.city.label_tag() }}
|
||||
{{ form.city }}
|
||||
{{ form.city.errors }}
|
||||
</div>
|
||||
<div class="field">
|
||||
{{ form.state.label_tag() }}
|
||||
{{ form.state }}
|
||||
{{ form.state.errors }}
|
||||
</div>
|
||||
<div class="field">
|
||||
{{ form.post_code.label_tag() }}
|
||||
{{ form.post_code }}
|
||||
{{ form.post_code.errors }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="field">
|
||||
{{ form.country.label_tag() }}
|
||||
{{ form.country }}
|
||||
{{ form.country.errors }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="field">
|
||||
{{ form.phone.label_tag() }}
|
||||
{{ form.phone }}
|
||||
{{ form.phone.errors }}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<button class="prominent continue c" type="submit">
|
||||
{{ _('Continue') }}
|
||||
|
|
Загрузка…
Ссылка в новой задаче