Commits

Ben  committed f2dfec2

Update URLs in new_page template

  • Participants
  • Parent commits b5d52d1
  • Branches lodgeit

Comments (0)

Files changed (1)

File lodgeit/views/new_paste.html

 {% set page_title = _('New Paste') %}
 {% set active_page = 'new' %}
 {% block body %}
-  <form action="/" method="post" class="submitform">
+  <form action="{{ url('pastes/new_paste') }}" method="post" class="submitform">
     {%- if error %}
       <div class="notification">
         <h3>{% trans %}Error While Pasting{% endtrans %}</h3>
         {%- if show_captcha %}
         <div class="captcha">
           <p>{% trans %}Please fill out the CAPTCHA to proceed:{% endtrans %}</p>
-          <img src="/_captcha.png" alt="{% trans %}a captcha you can't see.  Sorry :({% endtrans %}">
+          <img src="{{ url('pastes/show_captcha') }}" alt="{% trans %}a captcha you can't see.  Sorry :({% endtrans %}">
           <input type="text" name="captcha" size="20">
         </div>
         {%- else %}