srchub-old

srchub-old Mercurial Source Tree


Root/indefero/src/IDF/templates/idf/user/projectrequest.html

{extends "idf/base-simple.html"}
{block body}

{if $form.errors}
<div class="px-message-error">
    <p>{trans 'Oops, please check the errors on the form.'}</p>
    {if $form.get_top_errors}
    {$form.render_top_errors|unsafe}
    {/if}
</div>
{/if}
{if $success}
<div>
    <p>
        Thank you - your request has been received and will be approved by an admin shortly.
    </p>
</div>
{/if}
{if $error}
<div class="px-message-error">
{$error}
</div>
{/if}

<form method="post" action=".">
    <table class="form" summary="">
        <tr>
            <th><strong>{$form.f.shortname.labelTag}:</strong></th>
            <td>{if $form.f.shortname.errors}{$form.f.shortname.fieldErrors}{/if}
                {$form.f.shortname|unsafe}<br />
                <span class="helptext">{$form.f.shortname.help_text}</span>
            </td>
        </tr>
        <tr>
            <th><strong>{$form.f.repotype.labelTag}:</strong></th>
            <td>{if $form.f.repotype.errors}{$form.f.repotype.fieldErrors}{/if}
                {$form.f.repotype|unsafe}<br />
                <span class="helptext">{$form.f.repotype.help_text}</span>
            </td>
        </tr>
        <tr>
            <th><strong>{$form.f.desc.labelTag}:</strong></th>
            <td>{if $form.f.desc.errors}{$form.f.desc.fieldErrors}{/if}
                {$form.f.desc|unsafe}<br />
                <span class="helptext">{$form.f.desc.help_text}</span>
            </td>
        </tr>
        <tr>
            <td> </td>
            <td><input type="submit" value="Request Project" name="submit" /></td>
        </tr>
    </table>

</form>

{/block}
{block context}


{/block}
Source at commit 23012f799d08 created 10 years 19 days ago.
By Nathan Adams, Adding syntax highlighter to base.html

Archive Download this file

Branches

Tags

Page rendered in 0.53164s using 11 queries.