view pylons_app/templates/admin/repos/repo_add.html @ 524:63212fea2471

a lot of fixes in templates, added options to each repository showing fork/serach/settings fixed emtpy changeset (again !)
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 29 Sep 2010 22:36:53 +0200
parents 558eb7c5028f
children
line wrap: on
line source

## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>

<%def name="title()">
    ${_('Add new repository')}
</%def>

<%def name="breadcrumbs_links()">
    ${h.link_to(_('Admin'),h.url('admin_home'))} 
    &raquo; 
    ${h.link_to(_('Repositories'),h.url('repos'))} 
    &raquo;
    ${_('add new')}
</%def>

<%def name="page_nav()">
	${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
    <!-- box / title -->
    <div class="title">
        ${self.breadcrumbs()}      
    </div>
    ${h.form(url('repos'))}
    <div class="form">
        <!-- fields -->
        <div class="fields">
            <div class="field">
	            <div class="label">
	                <label for="repo_name">${_('Name')}:</label>
	            </div>
	            <div class="input">
	                ${h.text('repo_name',c.new_repo)}
	            </div>
             </div>
            <div class="field">
                <div class="label label-textarea">
                    <label for="description">${_('Description')}:</label>
                </div>
                <div class="textarea text-area editor">
                    ${h.textarea('description',cols=23,rows=5)}
                </div>
             </div>
            <div class="field">
                <div class="label label-checkbox">
                    <label for="private">${_('Private')}:</label>
                </div>
                <div class="checkboxes">
                    ${h.checkbox('private',value="True")}
                </div>
             </div>
	        <div class="buttons">
	          ${h.submit('add','add',class_="ui-button ui-widget ui-state-default ui-corner-all")}
	        </div>                                                          
        </div>
    </div>    
    ${h.end_form()}    
</div>
</%def>