{%extends "issue_base.html"%}
{%block issue_body%}
<h2>Publish + Mail Draft Comments</h2>

<div>
  <form action="" method="post">
  <table>
  {%ifnotequal user issue.owner%}
  <tr><th>Subject:</th><td>{{issue.subject}}</td></tr>
  {%endifnotequal%}
  {{form}}
  <tr>
    <td></td>
    <td><i>The message will be included in the email sent (if any).</i></td>
  </tr>
  <tr>
    <td></td>
    <td>
      <input type="submit" value="Publish All My Drafts">
     </td>
  </tr>
  </table>
  </form>
</div>
{%if preview%}
<div style="margin-top: 3em;">
  <h3>Unpublished Drafts:</h3>
  <pre class="description">{{preview|wordwrap:"80"|urlize}}</pre>
</div>
{%endif%}
<div style="clear:both"></div>

{%endblock%}

{%extends "issue_base.html"%}
{%block issue_body%}
<h2>Publish + Mail Draft Comments</h2>

<div>
  <form action="{%url codereview.views.publish issue.key.id%}" method="post">
  <table>
  {%ifnotequal user issue.owner%}
  <tr><th>Subject:</th><td>{{issue.subject}}</td></tr>
  {%endifnotequal%}
  {{form}}
  <tr>
    <td></td>
    <td><i>The message will be included in the email sent (if any).</i></td>
  </tr>
  <tr>
    <td></td>
    <td>
      <input type="submit" value="Publish All My Drafts">
     </td>
  </tr>
  </table>
  </form>
</div>
{%if preview%}
<div style="margin-top: 3em;">
  <h3>Unpublished Drafts:</h3>
  <pre class="description">{{preview|wordwrap:"80"|urlize}}</pre>
</div>
{%endif%}
<div style="clear:both"></div>

{%endblock%}

Put the {%url%} tag back, this time with correct arguments. (It was always broken, but a more recent version of Django started raising an exception instead of returning "", which happened to work here.)
Put the {%url%} tag back, this time with correct arguments.
(It was always broken, but a more recent version of Django started raising
an exception instead of returning "", which happened to work here.)


git-svn-id: 095a516e186c72f46b708383d0d3f28c2432e8a1@194 e30e9e8f-1b4c-0410-881d-6f13584adfe0
