forked from Scifabric/pybossa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First commit with Flask-Babel and Spanish translation of account view…
…. Refs Scifabric#43
- Loading branch information
Showing
20 changed files
with
1,586 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,24 +3,26 @@ | |
{% block content %} | ||
{% from "_formhelpers.html" import render_field %} | ||
<p style="padding-top:5px;"> | ||
<span class="label label-warning"><i class="icon-bullhorn"></i> Note</span> | ||
By click the <strong>Create account button</strong> below you are agreeing to | ||
the <a target="blank" href={{terms_of_use | safe}}>terms of use</a> and | ||
<a href={{data_use | safe}}>data</a>. | ||
<span class="label label-warning"><i class="icon-bullhorn"></i> {{ _('Note') }}</span> | ||
{{ _('By click the') }} | ||
<strong>{{ _('Create account button') }} | ||
</strong>{{ _('below you are agreeing to the') }} | ||
<a target="blank" href={{terms_of_use | safe}}>{{ _('terms of use') }} </a>{{ _('and') }} | ||
<a href={{data_use | safe}}>{{ _('data') }}</a>. | ||
</p> | ||
|
||
<legend>Create an account</legend> | ||
<legend>{{ _('Create an account') }}</legend> | ||
<form method="post" class="form-horizontal" action="{{ url_for('account.register') }}"> | ||
{{ form.hidden_tag() }} | ||
<fieldset> | ||
{{ render_field(form.fullname, placeholder="my full name") }} | ||
{{ render_field(form.username, placeholder="myusername") }} | ||
{{ render_field(form.email_addr, placeholder="[email protected]") }} | ||
{{ render_field(form.password, placeholder="my secret password") }} | ||
{{ render_field(form.confirm, placeholder="my secret password") }} | ||
{{ render_field(form.fullname, placeholder= _('my full name')) }} | ||
{{ render_field(form.username, placeholder= _('myusername')) }} | ||
{{ render_field(form.email_addr, placeholder= _('[email protected]')) }} | ||
{{ render_field(form.password, placeholder= _('my secret password')) }} | ||
{{ render_field(form.confirm, placeholder= _('my secret password')) }} | ||
<div class="form-actions"> | ||
<input type="submit" value="Create an account" class="btn btn-primary btn-large" /> | ||
<input type="reset" value="Cancel" class="btn" /> | ||
<input type="submit" value="{{ _('Create an account') }}" class="btn btn-primary btn-large" /> | ||
<input type="reset" value="{{ _('Cancel') }}" class="btn" /> | ||
</div> | ||
</fieldset> | ||
</form> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.