73 lines
2.4 KiB
HTML
73 lines
2.4 KiB
HTML
{extends "issues/base.html"}
|
|
{block body}
|
|
{if $form.errors}
|
|
<div class="px-message-error">
|
|
<p>{trans 'The form contains some errors. Please correct them to submit the issue.'}</p>
|
|
{if $form.get_top_errors}
|
|
{$form.render_top_errors|unsafe}
|
|
{/if}
|
|
</div>
|
|
{/if}
|
|
|
|
<form method="post" enctype="multipart/form-data" action="{url 'IDF_Views_Issue::create', array($project.shortname)}" >
|
|
<table class="form" summary="">
|
|
<tr>
|
|
<th><strong>{$form.f.summary.labelTag}:</strong></th>
|
|
<td>{if $form.f.summary.errors}{$form.f.summary.fieldErrors}{/if}
|
|
{$form.f.summary|unsafe}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><strong>{$form.f.content.labelTag}:</strong></th>
|
|
<td>{if $form.f.content.errors}{$form.f.content.fieldErrors}{/if}
|
|
{$form.f.content|unsafe}
|
|
</td>
|
|
</tr>{if $isOwner or $isMember}
|
|
<tr>
|
|
<th><strong>{$form.f.status.labelTag}:</strong></th>
|
|
<td>{if $form.f.status.errors}{$form.f.status.fieldErrors}{/if}
|
|
{$form.f.status|unsafe}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{$form.f.owner.labelTag}:</th>
|
|
<td>{if $form.f.owner.errors}{$form.f.owner.fieldErrors}{/if}
|
|
{$form.f.owner|unsafe}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>{$form.f.label1.labelTag}:</th>
|
|
<td>
|
|
{if $form.f.label1.errors}{$form.f.label1.fieldErrors}{/if}{$form.f.label1|unsafe}
|
|
{if $form.f.label2.errors}{$form.f.label2.fieldErrors}{/if}{$form.f.label2|unsafe}
|
|
{if $form.f.label3.errors}{$form.f.label3.fieldErrors}{/if}{$form.f.label3|unsafe}<br />
|
|
{if $form.f.label4.errors}{$form.f.label4.fieldErrors}{/if}{$form.f.label4|unsafe}
|
|
{if $form.f.label5.errors}{$form.f.label5.fieldErrors}{/if}{$form.f.label5|unsafe}
|
|
{if $form.f.label6.errors}{$form.f.label6.fieldErrors}{/if}{$form.f.label6|unsafe}
|
|
</td>
|
|
</tr>{/if}
|
|
<tr>
|
|
<td> </td>
|
|
<td><input type="submit" value="{trans 'Submit Issue'}" name="submit" /> | <a href="{url 'IDF_Views_Issue::index', array($project.shortname)}">{trans 'Cancel'}</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
{/block}
|
|
{block context}
|
|
<div class="issue-submit-info">
|
|
{blocktrans}<p>When you submit the issue do not forget to provide the following information:</p>
|
|
<ul>
|
|
<li>The steps to reproduce the problem.</li>
|
|
<li>The version of the software and your operating system.</li>
|
|
<li>Any information that can help the developpers to solve the issue.</li>
|
|
<li><strong>Do not provide any password or confidential information!</strong></li>
|
|
</ul>{/blocktrans}
|
|
</div>
|
|
<script type="text/javascript">
|
|
document.getElementById('id_summary').focus()
|
|
</script>
|
|
{/block}
|
|
{block javascript}{include 'issues/js-autocomplete.html'}{/block}
|
|
|