<commit_before>{% extends "rsr/base.html" %}
{% load webdesign addparam cache humanize i18n rsr_filters rsr_tags thumbnail %}
{% load url from future %}


{% block title %} {{block.super}} - {% trans 'Sign in' %}{% endblock %}

{% block breadcrum_items %}
{{block.super}}
<li id="last_breadcrum_item">Sign in</li>
{% endblock breadcrum_items %}


{% block maincontent %}
	<div class="span-18" style="background-color:#fff">
		<div class="white_box">
			<div class="space20">
				<h1>{% trans 'Please sign in' %}</h1>
				{% if form.non_field_errors %}
				    <div class="error" style="float:left; width:600px;margin-bottom:20px;">
						<span style="font-weight:bold;">{% trans 'Error when signing in' %}</span><br /><br />
						{% for e in form.non_field_errors %}
							<p>{{e}}</p>
						{% endfor %}
				    </div>
					<div class="clear"></div>
				{% endif %}
				
				<div style="float:left; width:465px; width:270px;">
					<div class="white_box" style="background-color:#D0FFFF;margin-right:30px;">
						<div class="space20">
							<form id="sign_in" class="boxbody" method="post" action="">{% csrf_token %}
							    <h3>{% trans 'I have an account' %}</h3>
								<div style="margin-left:15px; margin-top:20px;">
									<label for="id_username">{% trans 'Enter username' %}</label>
									{{ form.username }}<br />
									<label for="id_password">{% trans 'Enter password' %}</label>
									{{ form.password }}<br />
									<input type="hidden" name="next" value="{{ next }}" />
									<br />
									<div class="text_right">
										<a class="aqua awesome" 
											href="javascript:document.forms['sign_in'].submit();">
											<span>{% trans 'Sign in' %}</span>
										</a>		
									</div>
									<input type="submit" value="SignIn" style="display:none;">
								</div>
							</form>
						</div>
					</div>
				</div>
				<div style="float:left; width:465px; padding-top:20px; margin-left:70px;">
					<h3>{% trans "I don&#x27;t have an account" %}</h3>
					{% url 'register1' as register1_url %}
					<p>
						{% blocktrans %}
							By <a href='{{ register1_url }}'>registering</a> with Akvo, you&#x27;ll be able to:
						{% endblocktrans %}
					</p>
					<ul class="simplelist">
						<li>{% trans "Create updates on your organisation&#x27;s projects" %}</li>
						<li>{% trans 'Leave comments on projects' %}</li>
					</ul>
					<p>{% trans 'And much more! <a href="/web/">Learn about</a> how Akvo works.' %}</p>
					
				</div>
				<div class="clear"></div>
				<br /><br />
				<p>
					<a href="{% url 'rsr_password_reset' %}">{% trans 'I forgot my username and/or password' %}</a>
				</p>
			</div>
		</div>
	</div>

{% endblock maincontent %}<commit_msg>[fixes #24510655] Fixed a bug that caused the return key not to post the sign in form on normal RSR<commit_after>{% extends "rsr/base.html" %}
{% load webdesign addparam cache humanize i18n rsr_filters rsr_tags thumbnail %}
{% load url from future %}


{% block title %} {{block.super}} - {% trans 'Sign in' %}{% endblock %}

{% block breadcrum_items %}
{{block.super}}
<li id="last_breadcrum_item">Sign in</li>
{% endblock breadcrum_items %}


{% block maincontent %}
  <div class="span-18" style="background-color:#fff">
    <div class="white_box">
      <div class="space20">
        <h1>{% trans 'Please sign in' %}</h1>
        {% if form.non_field_errors %}
            <div class="error" style="float:left; width:600px;margin-bottom:20px;">
            <span style="font-weight:bold;">{% trans 'Error when signing in' %}</span><br /><br />
            {% for e in form.non_field_errors %}
              <p>{{e}}</p>
            {% endfor %}
            </div>
          <div class="clear"></div>
        {% endif %}
        <div style="float:left; width:465px; width:270px;">
          <div class="white_box" style="background-color:#D0FFFF;margin-right:30px;">
            <div class="space20">
              <form id="sign_in" class="boxbody" method="post" action="">{% csrf_token %}
                  <h3>{% trans 'I have an account' %}</h3>
                <div style="margin-left:15px; margin-top:20px;">
                  <label for="id_username">{% trans 'Enter username' %}</label>
                  {{ form.username }}<br />
                  <label for="id_password">{% trans 'Enter password' %}</label>
                  {{ form.password }}<br />
                  <input type="hidden" name="next" value="{{ next }}" />
                  <br />
                  <div class="text_right">
                    <a class="aqua awesome" 
                      href="javascript:document.forms['sign_in'].submit();">
                      <span>{% trans 'Sign in' %}</span>
                    </a>		
                  </div>
                  <input type="submit" value="SignIn" style="visibility:hidden;">
                </div>
              </form>
            </div>
          </div>
        </div>
        <div style="float:left; width:465px; padding-top:20px; margin-left:70px;">
          <h3>{% trans "I don&#x27;t have an account" %}</h3>
          {% url 'register1' as register1_url %}
          <p>
            {% blocktrans %}
              By <a href='{{ register1_url }}'>registering</a> with Akvo, you&#x27;ll be able to:
            {% endblocktrans %}
          </p>
          <ul class="simplelist">
            <li>{% trans "Create updates on your organisation&#x27;s projects" %}</li>
            <li>{% trans 'Leave comments on projects' %}</li>
          </ul>
          <p>{% trans 'And much more! <a href="/web/">Learn about</a> how Akvo works.' %}</p>
					
        </div>
        <div class="clear"></div>
        <br /><br />
        <p>
          <a href="{% url 'rsr_password_reset' %}">{% trans 'I forgot my username and/or password' %}</a>
        </p>
      </div>
    </div>
  </div>

{% endblock maincontent %}
{'fraction_non_alphanumeric': 0.18823329365754124, 'fraction_numerical': 0.017684067335487164, 'mean_word_length': 2.2860335195530728, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6791345', 'n_tokens_mistral': 2338, 'n_tokens_neox': 1847, 'n_words': 473}