Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
4078e89b
Commit
4078e89b
authored
Feb 13, 2017
by
okhin
Browse files
Shorter text for the call form and input field now required
parent
c80c6d63
Pipeline
#883
passed with stage
in 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/home.html
View file @
4078e89b
...
...
@@ -33,11 +33,10 @@
<h5>
{{ _("Call for free") }}
</h5>
<form
id=
"form-contact"
method=
"post"
action=
""
>
<input
type=
"text"
id=
"contact_id"
name=
"contact_id"
hidden=
"hidden"
value=
""
>
<p>
{{ _("If you want to call for free, you must provide us with your phone number
(the PiPhone will call that number to initiate the communication).") }}
</p>
<p>
{{ _("We need your phone number to initiate the call") }}
</p>
<div
class=
"input-field col s12"
>
<label
for=
"phone"
>
{{_("Your phone number:") }}
</label>
<input
type=
"text"
name=
"phone"
id=
"phone"
/>
<input
type=
"text"
name=
"phone"
required
id=
"phone"
/>
</div>
<p>
{{ _('Starting with your
<a
href=
"https://en.wikipedia.org/wiki/List_of_country_calling_codes#Zones_3-4:_Europe"
>
country code
</a>
, without the initial 0') }}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment