{extends "idf/downloads/base.html"}
{block docclass}yui-t3{assign $inCreate=true}{/block}
{block body}
{if $form.errors}
<
div
class
=
"px-message-error"
>
<
p
>{trans 'The form contains some errors. Please correct them to submit the file.'}</
p
>
{if $form.get_top_errors}
{$form.render_top_errors|unsafe}
{/if}
</
div
>
{/if}
<
form
method
=
"post"
enctype
=
"multipart/form-data"
action
=
"."
>
<
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
>{$form.f.changelog.labelTag}:</
th
>
<
td
>{if $form.f.changelog.errors}{$form.f.changelog.fieldErrors}{/if}
{$form.f.changelog|unsafe}
</
td
>
</
tr
>
<
tr
>
<
th
><
strong
>{$form.f.file.labelTag}:</
strong
></
th
>
<
td
>{if $form.f.file.errors}{$form.f.file.fieldErrors}{/if}
{$form.f.file|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
>
<
tr
>
<
td
> </
td
>
<
td
><
input
type
=
"submit"
value
=
"{trans 'Submit File'}"
name
=
"submit"
/> | <
a
href
=
"{url 'IDF_Views_Download::index', array($project.shortname)}"
>{trans 'Cancel'}</
a
>
</
td
>
</
tr
>
</
table
>
</
form
>
{/block}
{block context}
<
div
class
=
"issue-submit-info"
>
<
h2
>{trans 'Instructions'}</
h2
>
<
p
>{blocktrans}Each file must have a distinct name and file contents
cannot be changed, so be sure to include release numbers in each file
name.{/blocktrans}</
p
>
<
p
>{blocktrans}You can use the <
a
href
=
"{$url}"
>Markdown syntax</
a
> for the description.{/blocktrans}</
p
>
</
div
>
{/block}
{block javascript}
<
script
type
=
"text/javascript"
>
document.getElementById('id_summary').focus()
</
script
>
{include 'idf/downloads/js-autocomplete.html'}{/block}