<form action="{{action}}" method="POST">

    <div class="welcome">
        <div class="grid-4" style="text-align: right; padding-top: 7px;">
            <label for="{{ widget.context_for(widget.fields.project_name)['id'] }}">
                Project Name
            </label>
        </div>
        <div class="grid-10">{{widget.display_field(widget.fields.project_name)}}</div>
        <div class="grid-9">&nbsp;</div>
        <div style="clear:both">&nbsp;</div>
        <div class="grid-4" style="text-align: right; padding-top: 7px;">
            <label for="{{ widget.context_for(widget.fields.project_unixname)['id'] }}">
                URL Name
            </label>
        </div>
        <div class="grid-10">{{widget.display_field(widget.fields.project_unixname)}}
            <br/><div id="project_url">http://{{request.environ['HTTP_HOST']}}{{neighborhood.url()}}<span id="url_fragment"></span></div>
        </div>
        <div class="grid-9" style="position:relative; overflow:visible">
            <b id="error_icon" data-icon="!" class="allura" title="Caution">!</b>
            <b id="success_icon" data-icon="2" class="allura" title="Check">&#x2713;</b>
            <div id="name_availability" style="display:none"></div>
        </div>
        {{widget.display_field(widget.fields.neighborhood)}}
        <div style="clear:both">&nbsp;</div>
    </div>

    {% if not neighborhood.project_template %}
    <div class="inner-row">
        <div class="tool">
            <div class="big_icon ui-icon-tool-git"></div>
                <input checked type="checkbox" value="Git"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Git">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Git">Git</label></h1>
                <p>Git is a distributed version control system designed to
                handle everything from small to very large projects with speed
                and efficiency.</p>
        </div>
        <div class="tool">
            <div class="big_icon ui-icon-tool-downloads"></div>
                <input checked type="checkbox" value="Downloads"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Downloads">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Downloads">Downloads &amp; Stats</label></h1>
                <p>Use the largest free, managed, global mirror network to
                distribute your files, and follow the download trends that
                enable you to develop better software.</p>
        </div>
        <div style="clear:both"></div>
    </div>
    <div class="inner-row">
        <div class="tool">
            <div class="big_icon ui-icon-tool-git"></div>
                <input type="checkbox" value="SVN"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_SVN">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_SVN">SVN</label></h1>
                <p>Enterprise-class centralized version control for the masses.</p>
        </div>
        <div class="tool">
            <div class="big_icon ui-icon-tool-wiki"></div>
                <input checked type="checkbox" value="Wiki"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Wiki">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Wiki">Wiki</label></h1>
                <p>Documentation is key to your project and the wiki tool
                helps make it easy for anyone to contribute.</p>
        </div>
        <div style="clear:both"></div>
    </div>
    <div class="inner-row">
        <div class="tool">
            <div class="big_icon ui-icon-tool-git"></div>
                <input type="checkbox" value="Hg"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Hg">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Hg">Mercurial</label></h1>
                <p>Mercurial is a distributed source control management tool that efficiently
                handles projects of any size and offers an easy and intuitive
                interface.</p>
        </div>
        <div class="tool">
            <div class="big_icon ui-icon-tool-tickets"></div>
                <input checked type="checkbox" value="Tickets"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Tickets">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Tickets">Tickets</label></h1>
                <p>Bugs, enhancements, tasks, etc., will help you plan and
                manage your development.</p>
        </div>
        <div style="clear:both"></div>
    </div>
    <div class="inner-row">
        <div class="tool">
            <div class="big_icon ui-icon-tool-blog"></div>
                <input type="checkbox" value="Blog"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Blog">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Blog">Blog</label></h1>
                <p>Share exciting news and progress updates with your
                community.</p>
        </div>
        <div class="tool">
            <div class="big_icon ui-icon-tool-discussion"></div>
                <input checked type="checkbox" value="Discussion"
                       name="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}"
                       id="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Discussion">
                <h1><label for="{{ widget.context_for(widget.fields.tools)['rendered_name'] }}_Discussion">Forums</label></h1>
                <p>Collaborate with your community in your forum.</p>
        </div>
        <div style="clear:both"></div>
    </div>
    {% endif %}
    {% if h.has_access(neighborhood, 'admin') and not neighborhood.project_template %}
    <div style="margin-top:20px">
        <div class="grid-1" style="text-align: right">
          {{widget.display_field(widget.fields.private_project)}}
        </div>
        <div class="grid-16">
            <label for="{{ widget.context_for(widget.fields.private_project)['id'] }}">
            Private? Private projects will be unreadable to non-project members and will
            not show up in search results.
            </label>
        </div>
        <div style="clear:both"></div>
    </div>
    {% endif %}
    <div class="button-row">
        <input type="submit" id="start" value="Create"> or <a href="/register-classic">Start a Classic Project</a>
    </div>
  {% if widget.antispam %}{% for fld in g.antispam.extra_fields() %}
  {{fld}}{% endfor %}{% endif %}
</form>
