The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>TentMaker Home</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" type="text/css" media="screen"
              title="Default" href="/default.css" />
<style type='text/css'>
  #tab-backends table {
background: #d6d6d6;
}

#tab-app-config table {
background: #d6d6d6;
}

#tab-app-statements table {
background: #d6d6d6;
}

#tab-bigtop-config {
    background: #d6d6d6;
    border: 1px solid #777;
}

div.app_block_table div.app_block_element {
    background: #d6d6d6;
}

div.app_block_controller div.app_block_element {
    background: #d6d6d6;
}

div.app_block_element fieldset {
    background: #aa5;
}

div.app_block_element fieldset table {
    background: #aa5;
}

.app_block_controller fieldset {
    background: #d6d6d6;
}

.app_block_controller fieldset {
    background: #d6d6d6;
}

.app_block_controller fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px;
    font-size: 1.1em;

}
.app_block_schema fieldset {
    background: #d6d6d6;
}
.app_block_schema fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px;
    font-size: 1.1em;

}
.app_block_sequence fieldset {
    background: #d6d6d6;
}
.app_block_sequence fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px;
    font-size: 1.1em;

}
.app_block_table fieldset {
    background: #d6d6d6;
}
.app_block_table fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px;
    font-size: 1.1em;

}

.app_block_new fieldset {
    background: #ee6;
}

.app_block_new fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px 4px 2px 4px;
    font-size: 1.1em;
}

.app_block_new {
    width: 450px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #777;
}
.app_block_table_new fieldset {
    background: #ee6;
}

.app_block_table_new fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px 4px 2px 4px;
    font-size: 1.1em;
}


.app_block_table_new {
    padding: 0 0 10px 0;
    border-bottom: 1px solid #777;
    background: #d6d6d6;
}

.app_block_controller div {
    background: #b4b1c2;
}
.app_block_controller div table {
    background: #b4b1c2;
}

.app_block_table div {
    background: #b4b1c2;
}
.app_block_table div table {
    background: #b4b1c2;
}

div.app_block_controller_element table {
    background: #ee6;
}

div.app_block_controller_element {
    background: #d6d6d6;
    padding: 0 0 10px 0;
    border-bottom: 1px solid;
}

.app_block_controller_element fieldset {
    background: #ee6;
}


.app_block_controller_element fieldset legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px 4px 2px 4px;
    font-size: 1.1em;
}

fieldset {
    background: #b4b1c2;
}
    

legend {
    background: #fff;
    border: 1px solid #777;
    padding: 2px 4px 2px 4px;
    font-size: 1.1em;
}

#create_field_box {
    background: #d7d7d7;
}

#create_field_box table {
    background: #ee6;
}
button {
    border: 1px solid #777;
}
input {
    border: 1px solid #777;
}

input {
    border: 1px solid #777;
}
select {
    border: 1px solid #777;
}

#tabs {
    background: #eee;
    width:     95%;
    clear:     both;
    border:    1px solid #99d;
    height:    500px;
    overflow:  auto;
    padding:   5px;
    margin:    0px auto 20px auto;
    font-size: .8em;
}

#tabs_header {
    width:  95%;
    margin: 0px auto 20px auto;
}

#tabs_header ul {
    list-style: none;
    margin:     0px;
    padding:    0px;
}

#tabs_header ul li {
    display:     block;
    float:       left;
    text-align:  center;
    padding:     0;
    margin:      0;
    border-left: 1px solid #99d;
}

#tabs_header ul li + li {
    border-left: none;
    display:     block;
    float:       left;
    text-align:  center;
    padding:     0;
    margin:      0;
}

#tabs_header ul li a {
    background:      #fff;
    border-top:      1px solid #99d;
    border-right:    1px solid #99d;
    border-left:     none;
    border-bottom:   none;
    padding:         0 10px 0 10px;
    margin:          0px;
    color:           #9a9a9a;
    text-decoration: none;
    display:         block;
    text-align:      center;
    font:            normal 12px/20px sans-serif;
}

#tabs_header ul li a:hover {
    color: #000;
    background: #bbe;
}

#tabs_header li a.active {
    background: #eee;
    font-weight: normal;
    color: #000;
border-bottom: 0;
}

div.tab {
    display: none;
    margin:  0px;
    padding: 3px;
}

div.tab_content {
    border:  1px solid grey;
}

table.bordered {
    border:          1px solid grey;
    border-collapse: collapse;
}

table.bordered td, table.bordered th {
    border-right:  1px solid grey;
    border-bottom: 1px solid grey;
    padding:       4px;
}

table.bordered td table td, table.bordered td table th {
    border: none;
}

div.quick_edit_div {
    background: #d6d6d6;
}

input.urgency_10, select.urgency_10 { background: #F00; }
input.urgency_5,  select.urgency_5  { background: #FF0; }
input.urgency_3,  select.urgency_3  { background: #0F0; }
input.urgency_1,  select.urgency_1  { background: #0FF; }

</style>
<script type='text/javascript'>
  /*
    The following snippet was taken from Ajax IN ACTION listing 3-1 p. 74.
    I modified it to remove IE support and to simplify it a bit,
    then I added my specific functions update_tree/redraw, etc.
*/
var server_stopped = 0;
var net=new Object();
net.READY_STATE_UNITIALIZED = 0;
net.READY_STATE_LOADING     = 1;
net.READY_STATE_LOADED      = 2;
net.READY_STATE_INTERACTIVE = 3;
net.READY_STATE_COMPLETE    = 4;
net.ContentLoader = function( url, onload, data ) {
    this.url     = url;
    this.onload  = onload;
    this.onerror = this.defaultError;
    this.data    = data;
    this.loadXMLDoc( url );
}
net.ContentLoader.prototype = {
    loadXMLDoc : function( url ) {
        this.req = new XMLHttpRequest();
        try {
            var loader = this;
            this.req.onreadystatechange = function() {
                loader.onReadyState.call( loader );
            }
            this.req.open( 'GET', url, true );
            this.req.send( null );
        }
        catch ( err ) {
            this.onerror.call( this );
        }
    },
    onReadyState : function () {
        var req = this.req;
        var ready = req.readyState;
        if ( ready == net.READY_STATE_COMPLETE ) {
            var httpStatus = req.status;
            if ( httpStatus == 200 || httpStatus == 0 ) {
                this.onload.call( this );
            }
            else {
                this.onerror.call( this );
            }
        }
    },
    defaultError : function () {
        alert( "error getting data " + this.req.getAllResponseHeaders() );
    }
}

/*----------------------------------------------------------------
    BEGIN my code
  ----------------------------------------------------------------*/

/*
    redraw is the net.ContentLoader callback for when the AJAX call to
    the server works.  All it does is dump the result directly into the
    raw_output field.
*/
function redraw() {
    var output_area       = document.getElementById( 'raw_output' );
    output_area.innerHTML = this.req.responseText;

    chat( 'chatter',       '' );
    chat( 'debug_chatter', '' );
}

/*
    redraw_add_div is the net.ContentLoader callback for when you need to
    update both the raw_output div and add to hideable div.

    You must pass the name of the hideable div to which the new div
    will be appended as that third (and final) argument to the
    net.ContentLoader constructor.

    The server needs to return two concatenated pieces:
        the text of the html to add to the app body
        the deparsed tree output
    These are split at the first line beginning 'config {'.
*/
function redraw_add_div() {
    // break response into parts
    var response     = this.req.responseText;
    var break_point  = response.indexOf( "config {" );
    var new_div_text = response.substring( 0, break_point - 1 );
    var new_input    = response.substring( break_point );

    // show the new input file as raw output
    var output_area       = document.getElementById( 'raw_output'     );
    output_area.innerHTML = new_input;

    // add the new div to the table body, don't forget the line break
    var div_area = document.getElementById( this.data );

    var new_node       = document.createElement( 'div' );
    var new_br         = document.createElement( 'br' );
    new_node.innerHTML = new_div_text;

    div_area.appendChild( new_node );
    div_area.appendChild( new_br );
}

/*
    redraw_add_field is the net.ContentLoader callback for when you need to
    update both the raw_output div and add a field to a table.

    You must pass 'table_ident' for the new field as the third
    (and final) argument to the net.ContentLoader constructor.

    The server needs to return two concatenated pieces:
        the text of the html to add to the app body
        the deparsed tree output
    These are split at the first line beginning 'config {'.
*/
function redraw_add_field() {
    // break response into parts
    var response      = this.req.responseText;
    var break_point   = response.indexOf( "config {" );
    var new_html_text = response.substring( 0, break_point - 1 );
    var new_input     = response.substring( break_point );

    var new_pieces    = new_html_text.split( /<!-- END DATA TABLE -->/ );
    var new_data_tbl  = new_pieces[0];
    var new_html      = new_pieces[1].split( /<!-- END QUICK TABLE -->/ );
    var new_quick     = new_html[0];
    var new_divs      = new_html[1].split( /<!-- BEGIN DIV -->/ );

    // show the new input file as raw output
    var output_area       = document.getElementById( 'raw_output'     );
    output_area.innerHTML = new_input;

    var pieces            = this.data.split( /::/ );
    var table_ident       = pieces[0];
    var field_names       = pieces[1].split( /\s+/ );

    // add the new divs to the pull down and quick edit box
    var div_area    = document.getElementById( 'fields_for_' + table_ident );
    var select_list = document.getElementById( table_ident + '_fields' );

    for ( var i = 0; i < new_divs.length; i++ ) {

        // create the new node
        var new_node           = document.createElement( 'div' );
        new_node.innerHTML     = new_divs[i];
        new_node.style.display = 'none';

        div_area.appendChild( new_node );

        // put the new field into the pull down Edit Field list
        var children    = new_node.childNodes;
        new_id_text     = children[0].id; // there is only one child
        var new_ident   = new_id_text.replace( /div_/, '' );

        new_node.setAttribute( 'id', 'field_edit_' + new_ident );

        var new_option  = new Option(
                field_names[i], table_ident + '::' + new_ident
        );
        new_option.setAttribute( 'id', 'field_edit_option::' + new_ident );
        select_list.add( new_option, null );
    }

    // replace the quick edit box
    var quick_table = document.getElementById(
            'quick_table::' + table_ident
    );
    quick_table.innerHTML = new_quick;

    // replace the data statement table
    var data_div = document.getElementById( 'hideable_data_' + table_ident );

    data_div.innerHTML = new_data_tbl;
}

/*
    redraw_data is the net.ContentLoader callback for data statement table
    updates.

    You must pass the id of one of the input fields in the data statement
    table as the third (and final) argument to the
    net.ContentLoader constructor.

    The server needs to return two concatenated pieces:
        the text of the html to replace the old data statement table
        the deparsed tree output
    These are split at the first line beginning 'config {'.
*/
function redraw_data() {
    // break response into parts
    var response     = this.req.responseText;
    var break_point  = response.indexOf( "config {" );
    var new_div_text = response.substring( 0, break_point - 1 );
    var new_input    = response.substring( break_point );

    // show the new input file as raw output
    var output_area       = document.getElementById( 'raw_output'     );
    output_area.innerHTML = new_input;

    // replace the old table with the new one
    // data is of this form: data_value::ident_10::ident_5::2
    var pieces      = this.data.split( /::/ );
    var table_ident = pieces[1];

    var data_div = document.getElementById( 'hideable_data_' + table_ident );

    data_div.innerHTML = new_div_text;
}

// Please don't cop out and use this ghostcode.
///*
//    refresh_app_body is the net.ContentLoader callback for when the AJAX
//    call needs to do a hard reload of the app_body tab to reflect multiple
//    changes (like when a field name changes).
//*/
//function refresh_app_body() {
//    var main_div = document.getElementById( 'tabs' );
//    // ask for a hard page reload
//    document.location.replace(
//        '/main/tab-app-body/' +
//        main_div.scrollTop + '/' +
//        document.body.scrollTop
//    );
//}

/*
    redraw_quickall is the net.ContentLoader callback for checkboxes
    in the heading of a field quick edit box.  It sets all the checkboxes
    for individual fields to the value of master checkbox.  It does this
    for both the quick edit box and full edit boxes.
*/
function redraw_quickall() {
    // break response into parts
    var response     = this.req.responseText;
    var break_point  = response.indexOf( "config {" );
    var dom_updates  = response.substring( 0, break_point );
    var new_input    = response.substring( break_point );

    // show the new input file as raw output
    var output_area       = document.getElementById( 'raw_output'     );
    output_area.innerHTML = new_input;

    // Now make the other updates based on what it returned.
    var answers      = dom_updates.split( /;/ );
    var new_value    = answers[0];
    var table_ident  = answers[1];
    var field_idents = answers[2].split( /,/ );

    // First, set the check marks in the quick edit box.
    // Then, set the check marks in the full edit boxes.
    for ( var i = 0; i < field_idents.length; i++ ) {

        var quick_box_id  = 'quick_html_form_optional_' + field_idents[i];
        var quick_box     = document.getElementById( quick_box_id );

        var full_box_id   = field_idents[i] + '::html_form_optional';
        var full_box      = document.getElementById( full_box_id );

        if ( new_value > 0 ) {
            quick_box.checked = 'checked';
            full_box.checked  = 'checked';
        }
        else {
            quick_box.checked = undefined;
            full_box.checked  = undefined;
        }
    }
}

/*
    redraw_quick is the net.ContentLoader callback for fields in a
    quick edit box.  It updates the corresponding input element in the
    full edit for the table.
*/
function redraw_quick() {
    // break response into parts
    var response      = this.req.responseText;
    var break_point   = response.indexOf( "config {" );
    var instructions  = response.substring( 0, break_point - 1 );
    var new_input     = response.substring( break_point );

    // first do the normal thing (like redraw would)
    var output_area       = document.getElementById( 'raw_output' );
    output_area.innerHTML = new_input;

    chat( 'chatter', '' );

    var pieces    = this.data.split( /;/ );
    var input_id  = pieces[0];
    var new_value = pieces[1];
    var type      = pieces[2];

    var input_el = document.getElementById( input_id );

    if ( input_el ) {
        if ( type == 'field_statement_text' ) {
            input_el.value = new_value;
        }
        else if ( new_value == 'true' ) {
            input_el.checked = 'checked';
        }
        else {
            input_el.checked = undefined;
        }
    }
    else {  // it must not have an id => its a multiple
        var input_els = document.getElementsByName( input_id );

        input_els[0].value = new_value;
        for ( var i = 1; i < input_els.length; i++ ) {
            input_els[i].value = '';
        }
    }

    follow_instructions( instructions );
}

/*
    redraw_full_edit is the net.ContentLoader callback for fields in a
    full edit box which have corresponding field in a quick edit box.
    It updates the corresponding input element in that quick edit box for
    the table.
*/
function redraw_full_edit() {
    // first do the normal thing (like redraw would)
    var output_area       = document.getElementById( 'raw_output' );
    output_area.innerHTML = this.req.responseText;

    chat( 'chatter', '' );

    var pieces    = this.data.split( /;/ );
    var input_id  = pieces[0];
    var new_value = pieces[1];
    var type      = pieces[2];

    pieces        = input_id.split( /::/ );
    var ident     = pieces[0];
    var keyword   = pieces[1];

    var quick_id  = 'quick_' + keyword + '_' + ident;

    var input_el = document.getElementById( quick_id );

    if ( input_el ) {
        if ( type == 'field_statement_text' ) {
            input_el.value = new_value;
        }
        else if ( new_value == 'true' ) {
            input_el.checked = 'checked';
        }
        else {
            input_el.checked = undefined;
        }
    }
}

/*
    redraw_name_change is the net.ContentLoader callback for name changes.
    These tend to cause action at a distance updates.  The front end returns
    not only the new bigtop input dump, but a list of input ids to update.
    You can also use this callback any time the AJAX request will return
    instructions, for example when the change might affect the app
    level config table.
*/
function redraw_name_change() {
    // break response into parts
    var response      = this.req.responseText;
    var break_point   = response.indexOf( "config {" );
    var instructions  = response.substring( 0, break_point - 1 );
    var new_input     = response.substring( break_point );

    // first do the normal thing (like redraw would)
    var output_area       = document.getElementById( 'raw_output' );
    output_area.innerHTML = new_input;

    chat( 'chatter', '' );

    follow_instructions( instructions );
}

/*
    follow_instructions updates statements with new values.
    Parameter: instructions - the JSON string representing an array
    of steps to take.  Each entry is a hash with two keys.  One of the
    keys is always keyword which must be the unique id or name of
    the statement you are updating.  The other key is one of these:
        value   the document element should have its value changed to this
        text    the document element should have its text changed to this
        values  the set of elements should have these values
        hashes  the set of paired elements should have these key/value pairs
                each hash has keyword and value keys
*/
function follow_instructions( instructions ) {

    var opener  = instructions.indexOf( '[' );

    if ( instructions.indexOf( '[' ) == -1 ) { /* nothing to do here */
        return;
    }

    //chat( 'debug_chatter', 'about to follow instructions ' + instructions );

    var todo    = eval ( instructions );

    for ( var i = 0; i < todo.length; i++ ) {
        if ( todo[i].values ) {  // multi-valued update
            var multis = document.getElementsByName( todo[i].keyword );

            for ( var j = 0; j < todo[i].values.length; j++ ) {
                multis[j].value = todo[i].values[j];
            }
        }
        else if ( todo[i].value != null ) { // single value update
            var changer   = document.getElementById( todo[i].keyword );
            changer.value = todo[i].value;
        }
        else if ( todo[i].text != null ) {
            var changer  = document.getElementById( todo[i].keyword );
            changer.text = todo[i].text;
        }
        else if ( todo[i].hashes ) {
            for ( var k = 0; k < todo[i].hashes.length; k++ ) {
                var multi_key = document.getElementsByName(
                        todo[i].keyword + '_key'
                );
                var multi_val = document.getElementsByName(
                        todo[i].keyword + '_value'
                );

                multi_key[k].value = todo[i].hashes[k].keyword;
                multi_val[k].value = todo[i].hashes[k].value;

                // make new boxes (always needed)
                hatch_more_rows( todo[i].keyword, multi_key[k], multi_val[k] );
            }
        }
        else if ( todo[i].config_value ) {
            // we know we need a new one, otherwise we wouldn't be here
            insert_app_config( todo[i].keyword, todo[i].config_value, 0 );
        }
//        else {
//            chat( 'debug_chatter', 'do not know what to do ' + todo );
//        }
    }
}

/*
    redraw_chat is a net.ContentLoader callback for when you want to make
    an AJAX call, but want the output to appear in the chat area instead
    of in raw_output.
    The save action uses this to report errors or report confirmation.
*/
function redraw_chat() {
    chat( 'chatter', this.req.responseText );
}

/*
    redraw_stopped is a net.ContentLoader callback for when you want to show
    the user that the server is stopped.  It destroys the underlying page.
*/
function redraw_stopped() {
    var body = document.body();

    body.innerHTML = '<h2>Your tentmaker server has stopped.</h2>';
}

/*
    draw_nothing is a net.ContentLoader callback for when you want to make
    an AJAX call, but don't want to update the screen
*/
function draw_nothing() {}

/*
    Tell chat the name of a div where it can dump debugging output
    and the output to send there.
*/
function chat ( chatter_name, output ) {
    var chatter = document.getElementById( chatter_name );

    chatter.innerHTML = output;
}

function dumper( some_object ) {
    var output = '';
    for ( var prop in some_object ) {
        output += prop + "<br />";
    }

    chat( 'debug_chatter', output );
}

/*
    show_or_hide toggles the visibility of bigtop section divs like
    config, backends, etc.  Pass it the name of the div and it will
    do the rest.
*/
function show_or_hide( elem_name ) {
    var elem               = document.getElementById( elem_name );
    var current_visibility = elem.style.display;

    if ( current_visibility == 'none' ) {
        elem.style.display = 'inline';
    }
    else {
        elem.style.display = 'none';
    }
}

/*
    expose_field changes the available Edit Field to the recently selected
    field name.
    Params: the selection object
*/
function expose_field ( selector ) {
    var selected_index = selector.selectedIndex;

    // loop starts at 1 because the first element is '- Select -', which
    // should hide everything
    for ( var i = 1; i < selector.options.length; i++ ) {

        var option_value  = selector.options[ i ].value;
        var ident_array   = option_value.split( /::/ );
        var table_ident   = ident_array[0];
        var field_ident   = ident_array[1];

        var div_id        = "field_edit_" + field_ident;
        var current_div = document.getElementById( div_id );

        if ( i == selected_index ) {
            current_div.style.display = 'inline';

            // make sure it is open for immediate use
            var edit_id  = "hideable_" + field_ident;
            var edit_div = document.getElementById( edit_id );
            edit_div.style.display = 'inline';
        }
        else {
            current_div.style.display = 'none';
        }
    }

// The following approach opens as many shows a new field, but keeps the
// old ones in the order they were opened.
//    var selected       = selector.options[ selected_index ].value;
//    var selected_div   = document.getElementById( "field_edit_" + selected );
//    var current_visibility = selected_div.style.display;
//
//    if ( current_visibility == 'none' ) {
//        selected_div.style.display = 'inline';
//    }
//    else {
//        selected_div.style.display = 'none';
//    }
}

/*
    walk_selections takes a select form object and returns a ][ delimited
    list of the values currently selected.  This works for single or
    multiple selects.
*/
function walk_selections ( select_element ) {
    var retval     = '';
    var selections = new Array();
    var i;

    for ( i = 0; i < select_element.options.length; i++ ) {
        if ( select_element.options[i].selected ) {
            selections.push( select_element.options[i].value );
        }
    }

    return selections.join( '][' );
}

/*
    create_app_block creates blocks (including literals) at the app
    level.  Note that you don't need this for the config block.
    It autovivifies the first time you try to put something in it.
    The type and name of the block are unloaded from the entry elements.

    See also create_* which make subblocks.
*/
function create_app_block () {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var type_selector = document.getElementById( 'new_app_block_type' );
    var type_namer    = document.getElementById( 'new_app_block_name' );

    var selected_type = type_selector.selectedIndex;
    var block_type    = type_selector.options[ selected_type ].value;
    var block_name    = type_namer.value;

    type_namer.value  = '';

    // Go do it!
    var update_url;
    if ( block_type == 'base_controller' ) {
        update_url    = '/create_app_block/' +
                            'controller::base_controller/base_controller';
    }
    else {
        update_url    = '/create_app_block/' + block_type + '::' + block_name;
    }

    var loader        = new net.ContentLoader(
                            update_url,
                            redraw_add_div,
                            'tab-app-body'
                        );
}

/*
    delete_block deletes blocks (including literals).  These might be
    tables, controllers, literals, fields, etc.
    Note that the config block has its own delete scheme.
*/
function delete_block ( doomed_element ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var trigger_name = doomed_element.name;
    var pieces       = doomed_element.name.split( /::/ );
    var delete_type  = pieces[0];
    var doomed_ident = pieces[1];

    // var doomed_ident = trigger_name.replace( /[^:]*::/, "" );

    if ( ! confirm("Are you sure you want to delete") ) {
        return false; 
    }
    
    // Tell the backend
    var update_url   = '/delete_block/' + doomed_ident;
    var loader;
    
    loader = new net.ContentLoader( update_url, redraw_name_change );

    // Remove it from the display?
    var doomed_div      = document.getElementById( 'div_' + doomed_ident );
    var grieving_parent = doomed_div.parentNode;
    var whitespace      = doomed_div.nextSibling;
    var useless_break;
    var more_whitespace;

    try {
        useless_break   = whitespace.nextSibling;
        try {
            more_whitespace = useless_break.nextSibling;
        }
        catch ( missing_whitespace ) { }

        grieving_parent.removeChild( doomed_div );
        grieving_parent.removeChild( whitespace );
        grieving_parent.removeChild( useless_break );
        grieving_parent.removeChild( more_whitespace );
    }
    catch ( any_exception ) {
    //    chat( 'debug_chatter', "error " + any_exception.message );
    }

    if ( delete_type == 'field_block_delete' ) {
        // take it out of the pull down
        var edit_option = document.getElementById(
                'field_edit_option::' + doomed_ident
        );
        var all_options = edit_option.parentNode;
        all_options.remove( all_options.selectedIndex );

        // take it out of the quick edit box
        var quick_row = document.getElementById(
                'quick_row::' + doomed_ident
        );
        var quick_table = quick_row.parentNode;
        quick_table.removeChild( quick_row );
    }

}

/*
    create_field creates a new field in a table.
*/
function create_field ( table_ident ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var field_namer   = document.getElementById( 'new_field_' + table_ident );
    var new_name      = field_namer.value;

    field_namer.value = '';

    var param         = 'table' + '::' + table_ident + '::' +
                        'field' + '::' + new_name;

    var update_url    = '/create_subblock/' + param;
    var loader        = new net.ContentLoader(
                          update_url,
                          redraw_add_field,
                          table_ident + '::' + new_name
                        );
}

/*
    create_method creates a new method in a controller.
*/
function create_method ( controller_ident ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    // Find the new name.
    var method_namer   = document.getElementById(
                            'new_method_' + controller_ident
                         );
    var new_name       = method_namer.value;
    method_namer.value = '';

    // Find the new type.
    var method_typer   = document.getElementById(
                            'new_method_type_' + controller_ident
                         );
    var new_type       = method_typer.value;

    // Build and send request.
    var param         = 'controller' + '::' + controller_ident + '::' +
                        'method' + '::' + new_name;

    var update_url    = '/create_subblock/' + param + '/' + new_type;
    var loader        = new net.ContentLoader(
                          update_url,
                          redraw_add_div,
                          "hideable_" + controller_ident
                        );
}

/*
    update_tree does an AJAX request which will update the internal
    tree in the server and show the text version of it in the
    raw_output div (output location is goverened by redraw).
    Pass in: suffix of do_update_* method you want
             parameter to change
             new value for it
             optional extra url trailer
             optional refresh flag, make it a positive int to get a page reload
    If a name changes, you always get a page reload, otherwise set the refresh
    flag (and remember to include the extra url trailer even if its blank).
*/
function update_tree (
            update_type,
            parameter,
            new_value,
            extra,
            refresh_type
) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    // chat( 'chatter', 'updating tree with ' + update_type +
    // ' ' + parameter + ' ' + new_value );

    var encoded    = escape( new_value );
    encoded        = encoded.replace( /\//g, "%2F" );
    var update_url = '/update_' + update_type + '/'
                        + parameter + '/' + encoded + '/' + extra;

    // Remember: you can't chat if you ask for a refresh
    // chat( 'debug_chatter', update_url );

    if ( update_type == 'name' || parameter.indexOf( 'paged_conf' ) >= 0 ) {
        var loader = new net.ContentLoader( update_url, redraw_name_change );

        // if its a field name change we want to update the data statement
        // table
        if ( update_type == 'name' && parameter.indexOf( 'field' ) >= 0 ) {
            var th_el = document.getElementById( 'data_for_' + parameter );
            th_el.innerHTML = new_value;
        }
    }
    else if ( refresh_type == 'quick_edit' ) {
        var how_to_update = parameter + ';' + new_value + ';' + update_type;
        var loader = new net.ContentLoader(
                update_url, redraw_quick, how_to_update
        );
    }
    else if ( refresh_type == 'full_edit' ) {
        var how_to_update = parameter + ';' + new_value + ';' + update_type;
        var loader = new net.ContentLoader(
                update_url, redraw_full_edit, how_to_update
        );
    }
    else {
        var loader = new net.ContentLoader( update_url, redraw );
    }
}

/*
    change_data_statement updates values in an existing data statement
    or creates a new data statement.  Pass it:
        the input box from the data statements table
*/
function change_data_statement ( changing_el ) {
    var new_value  = changing_el.value;
    var for_id     = changing_el.id;

    var update_url = '/update_data_statement/' +
                     for_id + '/' + new_value;

    var loader     = new net.ContentLoader( update_url, redraw_data, for_id );
}

/*
    quick_all handles checkboxes which sit in the heading row of a
    field quick edit box.  It tells the server to set all fields for a
    given table to the checkbox value at once.  It uses its own redraw
    callback (redraw_quickall).
*/
function quick_all (table_ident, keyword, checked) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var update_url = '/table_reset_bool/'  +
                     table_ident   +
                     '/' + keyword +
                     '/' + checked;

    var loader = new net.ContentLoader( update_url, redraw_quickall );
}

/*
    update_multivalue is like update_tree, but it works for statements
    that allow multiple values.  Use one text input box for each
    value, name them all the same.  Connect them to this passing in:
        suffix of do_update_* method you want
        parameter (a.k.a. statement keyword) to change
        one of the input text elements in the group.
    Not only are all the boxes in the group checked for values, but
    if they are all full, this routine makes a new one.
    None are ever removed.
*/
function update_multivalue (
    update_type,
    parameter,
    one_input,
    refresh_type
) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var sybs          = document.getElementsByName( one_input.name );
    var new_names     = new Array;

    var current_count = sybs.length;
    var new_count     = 0;

    // Walk the text input boxes, storing values and counting them.
    SYBS:
    for ( var i = 0; i < current_count; i++ ) {
        if ( ! sybs[i].value ) { continue SYBS; }
        new_count++;
        new_names.push( sybs[i].value );
    }
    var output     = new_names.join( '][' );
    var encoded    = escape( output );
    var update_url = '/update_' + update_type + '/'
                        + parameter + '/' + encoded;

    // See if we need to add a new box.
    if ( new_count >= current_count - 1 ) { // we're full up
        // make the new box and a separator element
        var br_node = document.createElement( 'br' );
        var clone   = one_input.cloneNode( true );
        clone.value = '';

        // attach them to the parent
        var parent  = one_input.parentNode;
        parent.appendChild( br_node );
        parent.appendChild( clone );
    }
    if ( refresh_type == 'full_edit' ) {
        var how_to_update = parameter + ';' + new_names[0] + ';' + update_type;
        var loader = new net.ContentLoader(
                update_url, redraw_full_edit, how_to_update
        );
    }
    else {
        var loader      = new net.ContentLoader( update_url, redraw );
    }
}

/*
    update_pairs is like update_multivalue, but it works for statements
    that allow multiple pairs of values.  Use two text input boxes for
    each pair (one for the key, the other for the value).  Name them
    all the same.  Pass these parameters to this function:
        suffix of do_update_* method you want
        parameter (a.k.a. statement keyword) to change
        a boolean indicating whether new pair fields should hatch out
        one of the input text elements in the group
    Like update_tree_multivalue, this one makes new boxes if all the
    existing ones are full, but only if the hatch_out boolean is true.
*/
function update_pairs (update_type, parameter, hatch_out, one_input) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    // get names of the key and value fields to be updated
    var base_name  = one_input.name.replace( /_[^_]*$/, '' );
    var key_name   = base_name + "_key";
    var value_name = base_name + "_value";

    // get the sybling elemens
    var key_sybs          = document.getElementsByName( key_name );
    var new_keys          = new Array;
    var current_key_count = key_sybs.length;
    var new_key_count     = 0;

    var value_sybs          = document.getElementsByName( value_name );
    var new_values          = new Array;
    var current_value_count = value_sybs.length;
    var new_value_count     = 0;

    // Find length of longer list.
    var current_count;
    if ( current_key_count < current_value_count ) {
        current_count = current_value_count;
    }
    else {
        current_count = current_key_count;
    }

    // Walk the key boxes, storing values and counting them.
    LABEL_SYBS:
    for ( var i = 0; i < current_key_count; i++ ) {
        if ( ! key_sybs[i].value ) { continue LABEL_SYBS; }
        new_key_count++;
        new_keys.push( key_sybs[i].value );
    }
    var output_keys = new_keys.join( '][' );

    // Walk the value boxes, storing values and counting them.
    VALUE_SYBS:
    for ( var i = 0; i < current_value_count; i++ ) {
        // Note that we skip only if the KEY is blank.  We take blank
        // values just fine.
        if ( ! key_sybs[i].value )   { continue VALUE_SYBS; }
        new_value_count++;
        new_values.push( value_sybs[i].value );
    }
    var output_values = new_values.join( '][' );

    // Make and send query.
    var output_query  = "keys=" + escape( output_keys ) + "&" +
                        "values=" + escape( output_values );

    var update_url    = '/update_' + update_type + '/'
                        + parameter + '?' + output_query;

    //chat( 'debug_chatter', update_url );

    var loader        = new net.ContentLoader( update_url, redraw );

    // See if we need to add new boxes.
    if ( hatch_out > 0
            &&
         ( new_key_count == current_count
              ||
           new_value_count == current_count  ) )
    { // we're full up
        hatch_more_rows( base_name, key_sybs[0], value_sybs[0] );
    }
}

function hatch_more_rows ( base_name, key_syb, value_syb ) {
    // make the new box and a separator element
    var clone_key     = key_syb.cloneNode( true );
    var clone_value   = value_syb.cloneNode( true );
    clone_key.value   = '';
    clone_value.value = '';

    // attach them to the parent
    var parent_table  = document.getElementById(
            base_name + "_input_table"
    );

    var new_row_number  = parent_table.rows.length;
    parent_table.insertRow( new_row_number );
    var inserted_row    = parent_table.rows[ new_row_number ];

    inserted_row.insertCell( 0 );
    inserted_row.insertCell( 1 );

    inserted_row.cells[0].appendChild( clone_key );
    inserted_row.cells[1].appendChild( clone_value );
}

/*
    add_app_config puts an additional row into the app level config table.
    The name of the new config statement is unloaded from the
    app_config_new text input box.
*/
function add_app_config () {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var config_table    = document.getElementById( 'app_config_table' );
    var last_row_number = config_table.rows.length - 1;
    // We subtract one to account for the row with the button in it.
    var first_row       = config_table.rows[ 0 ];

    var keyword_box     = document.getElementById( 'app_config_new' );
    var new_keyword     = keyword_box.value;
    keyword_box.value   = '';

    config_table.insertRow( last_row_number );
    var inserted_row    = config_table.rows[ last_row_number ];
    inserted_row.id     = 'app_config::row::' + new_keyword

    for ( var i = 0; i < first_row.cells.length; i++ ) {
        inserted_row.insertCell( i );
    }

    // insert the new keyword (once installed, it is imutable)
    inserted_row.cells[0].innerHTML = new_keyword;

    // insert the text box for input
    var value_box_name = 'app_conf_value::' + new_keyword;
    var value_box = myCreateNodeFromText(
         "<input type='text' name='" + value_box_name + "'" +
         "     value=''                                   " +
         "/>                                              "
    );

    value_box.onblur = config_statement_update;

    inserted_row.cells[1].appendChild( value_box );

    // insert the checkbox for accessor skipping (and check it)
    var accessor_bool_name = 'app_conf_box::' + new_keyword;
    var accessor_box     = myCreateNodeFromText(
        "<input type='checkbox' value='" + accessor_bool_name + "'" +
        "       name='" + accessor_bool_name                  + "'" +
        "       checked='checked' />"
    );

    accessor_box.onchange = config_statement_accessor_update;

    inserted_row.cells[2].appendChild( accessor_box );

    // insert delete button
    var delete_button = myCreateNodeFromText(
          "<button type='button'                                      " +
          "           name='app_config_delete::" + new_keyword + "' />" +
          "  Delete                                                   " +
          "</button>                                                  "
    )
    delete_button.onclick = config_statement_delete;

    inserted_row.cells[3].appendChild( delete_button );
}

/*
    insert_app_config puts a new config statement into the app config table.
    It is designed to be used while following an instruction to add a
    config statement from the server.  Pass it:
        new_keyword - conf variable to define
        new_value   - value to give the variable
        no_accessor - true if you want the box checked, false otherwise
    this routine is very similar to add_app_config and the two could probably
    share
*/
function insert_app_config ( new_keyword, new_value, no_accessor ) {

    var config_table    = document.getElementById( 'app_config_table' );
    var last_row_number = config_table.rows.length - 1;
    // We subtract one to account for the row with the button in it.
    var first_row       = config_table.rows[ 0 ];

    config_table.insertRow( last_row_number );
    var inserted_row    = config_table.rows[ last_row_number ];
    inserted_row.id     = 'app_config::row::' + new_keyword

    for ( var i = 0; i < first_row.cells.length; i++ ) {
        inserted_row.insertCell( i );
    }

    // insert the new keyword (once installed, it is imutable)
    inserted_row.cells[0].innerHTML = new_keyword;

    // insert the text box for input
    var value_box_name = 'app_conf_value::' + new_keyword;
    var value_box = myCreateNodeFromText(
         "<input type='text' name='" + value_box_name + "'" +
         "     value='" + new_value + "'" +
         "/>"
    );

    value_box.onblur = config_statement_update;

    inserted_row.cells[1].appendChild( value_box );

    // insert the checkbox for accessor skipping (and check it)
    var accessor_bool_name = 'app_conf_box::' + new_keyword;
    var accessor_text      =
        "<input type='checkbox' value='" + accessor_bool_name + "'" +
        "       name='" + accessor_bool_name                  + "'";

    if ( no_accessor ) {
        accessor_text = accessor_text + "       checked='checked' />";
    }
    else {
        accessor_text = accessor_text + "/>";
    }

    var accessor_box      = myCreateNodeFromText( accessor_text );

    accessor_box.onchange = config_statement_accessor_update;

    inserted_row.cells[2].appendChild( accessor_box );

    // insert delete button
    var delete_button = myCreateNodeFromText(
          "<button type='button'                                      " +
          "           name='app_config_delete::" + new_keyword + "' />" +
          "  Delete                                                   " +
          "</button>                                                  "
    )
    delete_button.onclick = config_statement_delete;

    inserted_row.cells[3].appendChild( delete_button );
}

/*
    delete_app_config is the button handler for all the delete buttons
    in the App Config Block table.  It tells the server to remove the
    config statement and deletes the corresponding table row in the
    browser view.
*/
function delete_app_config ( delete_button ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var name_pieces = delete_button.name.split( '::' );
    var keyword     = name_pieces[1];

    // tell the backend to do the delete
    var update_url = '/delete_app_config/' + keyword;
    var loader     = new net.ContentLoader( update_url, redraw );

    // update the table
    var config_row = document.getElementById(
            'app_config::row::' + keyword
    );
    var config_row_number = config_row.rowIndex;
    var parent_table      = config_row.parentNode;

    parent_table.deleteRow( config_row_number );
}

/*
    The following three event handlers are attached to newly minted
    config table elements so they have the same behavior as the ones
    delivered during initial page load.
*/
function config_statement_update( event ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var source   = event.currentTarget;
    var keyword  = source.name;
    keyword      = keyword.replace( 'app_conf_value::', '' );

    accessor_box = document.getElementsByName( 'app_conf_box::' + keyword )[0];

    update_tree(
        'app_conf_statement',
        keyword,
        source.value,
        accessor_box.checked
    );
}

function config_statement_accessor_update( event ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var source  = event.currentTarget;
    var keyword = source.name;
    keyword     = keyword.replace( 'app_conf_box::', '' );

    update_tree(
        'app_conf_accessor',
        keyword,
        source.checked
    );
}

function config_statement_delete( event ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var source  = event.currentTarget;

    delete_app_config( source );
}

/*
    type_change is like update_tree, but it only affects changes in
    controller or method types.  Pass it:
        block_type - choose from controller or method
        ident      - the grammar assigned ident of the block to change
        new_type   - what to make the type
*/
function type_change ( ident, new_type ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var update_url = '/type_change/' + ident + '/' + new_type;

    var loader     = new net.ContentLoader( update_url, redraw );
}

/*
    saver puts the file back on the server's disk.
*/
function saver () {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var file_namer = document.getElementById( 'save_file_name' );
    var file_name  = file_namer.value; // don't even think about clearing this

    var encoded    = escape( file_name );
    encoded        = encoded.replace( /\//g, "%2F" );

    var url        = '/save/' + encoded;
    var loader     = new net.ContentLoader( url, redraw_chat );
}

/*
    server_stop sends an AJAX message to the server, telling it to shut
    down.  It also sets the server_stopped flag here, so future activity
    tells you that the server is down.
*/
function server_stop () {

    if ( server_stopped == 1 ) {
        alert( 'Your server is already stopped.' );
        return;
    }

    if ( ! confirm(
                "Are you sure you want to stop the server (did you save)?"
           )
    ) {
        return false; 
    }
    
    server_stopped = 1;

    var loader = new net.ContentLoader( '/server_stop', redraw_stopped );
}

/*
    myCreateNodeFromText is stolen from dojo's html.js, but cleaned
    to remove all dojo dependencies and to make only one node instead
    of an array of them.
*/
function myCreateNodeFromText ( txt ) {
    var new_div = document.createElement( 'div' );
    new_div.style.visibility = 'hidden';

    document.body.appendChild( new_div );

    new_div.innerHTML = txt;

    var node = new_div.childNodes[0].cloneNode( true );

    document.body.removeChild( new_div );

    return node;
}

/*
    changetab sets the display attribute to all tabs to none, then sets
    it to block for the selected tab.  It also puts the link for the
    tab into the active class so its link tab will highlight.  This
    idea is stolen from the sunflowerbroadband.com home page, but the
    implementation is different.
*/
function changetabs( activate_id ) {

    if ( server_stopped == 1 ) {
        alert( 'Your server is stopped.' );
        return;
    }

    var tab_holder = document.getElementById( 'tabs' );
    var tabs       = tab_holder.getElementsByTagName( 'div' );

    TABS:
    for ( var i = 0; i < tabs.length; i++ ) {
        if ( ! tabs[i].id ) { continue TABS; }

        var link_tab_id       = tabs[i].id + '-link';
        var link_tab          = document.getElementById( link_tab_id );

        // Skip descendent divs.  Ours have ids starting with tab-.
        // There are link elements with corresponding ids ending in -link.
        if ( ! link_tab ) { continue TABS; }

        if ( tabs[i].id == activate_id ) {
            tabs[i].style.display = 'block';
            link_tab.className    = 'active';
        }
        else {
            tabs[i].style.display = 'none';
            link_tab.className    = '';
        }
    }
}

</script>
    </head>
<body>
<div class='main_title'>
<h2>tentmaker - A Bigtop Editor</h2>
</div>
<!--    **********************************************
        Begin the Main Table where all the input lives
        ********************************************** -->

<div id='tabs_header'>
    <ul>
        <li><a id='tab-bigtop-config-link'
               class='active'
               href='javascript:changetabs( "tab-bigtop-config" );'
            >Bigtop Config</a>
        <li><a id='tab-app-body-link'
               
               href='javascript:changetabs( "tab-app-body" );'
            >App Body</a>
        <li><a id='tab-backends-link'
               
               href='javascript:changetabs( "tab-backends");'
            >Backends</a>
        <li><a id='tab-app-statements-link'
               
               href='javascript:changetabs( "tab-app-statements" );'
            >App Level Statements</a>
        <li><a id='tab-app-config-link'
               
               href='javascript:changetabs( "tab-app-config" );'
            >App Config</a>
    </ul>
</div>

<div id='tabs'>

  <form method='GET' action='#'>
  <div
    
        class='active'
    
    id='tab-bigtop-config'>

    
<table>
  <tr>
      <td>Application Name:</td>
      <td> <input onblur='javascript:update_tree(
                      "std", "appname", this.value
                  )'
                  type='text'
                  value='Billing'></td>
  </tr>
  
<tr>
  <td>Engine:
  </td>
  <td>
    <select name='engine'
            onchange='javascript:update_tree(
                "std", "engine", this.value
            )'
    >
    
        
          <option value='MP13'
            
          >
            mod_perl 1.3
          </option>

    
        
          <option value='MP20'
            
          >
            mod_perl 2.0
          </option>

    
        
          <option value='CGI'
             selected='selected' 
          >
            CGI/FastCGI
          </option>

    
    </select>
  </td>
</tr>

  
<tr>
  <td>Template Engine:
  </td>
  <td>
    <select name='template_engine'
            onchange='javascript:update_tree(
                "std", "template_engine", this.value
            )'
    >
    
        
          <option value='TT'
             selected='selected' 
          >
            Template Toolkit
          </option>

    
        
          <option value='Default'
            
          >
            Plain Text
          </option>

    
    </select>
  </td>
</tr>

</table>





    <br />

    <div id="save_file">
    <button type='button'
          onclick='javascript:server_stop()'> Stop Server </button>

    <button type='button'
          onclick='javascript:saver()'>       Save As: </button>

    <input type='text'
         value="t/tentmaker/billing.bigtop"
         id='save_file_name'
         size='45' />

      <div id="chatter">
      </div>

    </div>

    <br />
    <fieldset> <legend> Current bigtop file </legend>

    <div id="raw_output" style="white-space: pre; font-family: monospace">

        config {
    engine CGI;
    template_engine TT;
    Init Std {  }
    SQL SQLite {  }
    SQL Postgres {  }
    SQL MySQL {  }
    CGI Gantry { gen_root 1; with_server 1; flex_db 1; }
    Control Gantry { dbix 1; }
    Model GantryDBIxClass {  }
    SiteLook GantryDefault {  }
}
app Billing {
    config {
        dbconn `dbi:SQLite:dbname=app.db` => no_accessor;
        template_wrapper `genwrapper.tt` => no_accessor;
    }
    controller is base_controller {
        method do_main is base_links {
        }
        method site_links is links {
        }
    }
    table company {
        field id {
            is int4, primary_key, auto;
        }
        field name {
            is varchar;
            label Name;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%name`;
        field street {
            is varchar;
            label Street;
            html_form_type text;
        }
        field city {
            is varchar;
            label City;
            html_form_type text;
        }
        field state {
            is varchar;
            label State;
            html_form_type text;
        }
        field zip {
            is varchar;
            label Zip;
            html_form_type text;
        }
        field phone {
            is varchar;
            label Phone;
            html_form_type text;
        }
        field cell {
            is varchar;
            label Cell;
            html_form_type text;
        }
        field email {
            is varchar;
            label Email;
            html_form_type text;
        }
    }
    controller Company is AutoCRUD {
        controls_table company;
        rel_location company;
        text_description company;
        page_link_label Company;
        method do_main is main_listing {
            cols name, description;
            header_options Add;
            row_options Edit, Delete;
            title Company;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
    table customer {
        field id {
            is int4, primary_key, auto;
        }
        field name {
            is varchar;
            label Name;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%name`;
        field street {
            is varchar;
            label Street;
            html_form_type text;
        }
        field city {
            is varchar;
            label City;
            html_form_type text;
        }
        field state {
            is varchar;
            label State;
            html_form_type text;
        }
        field zip {
            is varchar;
            label Zip;
            html_form_type text;
        }
        field phone {
            is varchar;
            label Phone;
            html_form_type text;
        }
        field cell {
            is varchar;
            label Cell;
            html_form_type text;
        }
        field email {
            is varchar;
            label Email;
            html_form_type text;
        }
    }
    controller Customer is AutoCRUD {
        controls_table customer;
        rel_location customer;
        text_description customer;
        page_link_label Customer;
        method do_main is main_listing {
            cols name, description;
            header_options Add;
            row_options Edit, Delete;
            title Customer;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
    table invoice {
        field id {
            is int4, primary_key, auto;
        }
        field number {
            is varchar;
            label Number;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%number`;
        field company {
            is int4;
            label Company;
            refers_to company;
            html_form_type select;
        }
        field customer {
            is int4;
            label Customer;
            refers_to customer;
            html_form_type select;
        }
        field status {
            is int4;
            label Status;
            html_form_type select;
            html_form_options
                `Working on it` => 1,
                Billed => 2,
                Paid => 3;
        }
        field sent {
            is date;
            label Sent;
            html_form_type text;
            html_form_optional 1;
            date_select_text `Select Date`;
        }
        field paid {
            is date;
            label Paid;
            html_form_type text;
            html_form_optional 1;
            date_select_text `Select Date`;
        }
        field notes {
            is varchar;
            label Notes;
            html_form_type text;
            html_form_optional 1;
        }
    }
    controller Invoice is AutoCRUD {
        controls_table invoice;
        rel_location invoice;
        text_description invoice;
        page_link_label Invoice;
        method do_main is main_listing {
            cols number, description;
            header_options Add;
            row_options Edit, Delete, Tasks => `"/task/main/$id"`;
            title Invoice;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`,
                javascript => `$self->calendar_month_js( 'invoice' )`;
            form_name invoice;
        }
        uses Gantry::Plugins::Calendar;
    }
    table task {
        field id {
            is int4, primary_key, auto;
        }
        field name {
            is varchar;
            label Name;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%name`;
        field invoice {
            is int4;
            label Invoice;
            refers_to invoice;
            html_form_type select;
        }
        field due_date {
            is date;
            label `Due Date`;
            html_form_type text;
            date_select_text `Select Date`;
        }
        field hours {
            is int4;
            label Hours;
            html_form_type text;
        }
        field charge_per_hour {
            is int4;
            label `Charge Per Hour`;
            html_form_type text;
        }
        field notes {
            is varchar;
            label Notes;
            html_form_type text;
            html_form_optional 1;
        }
    }
    controller Task is AutoCRUD {
        controls_table task;
        rel_location task;
        text_description task;
        page_link_label Task;
        method do_main is main_listing {
            cols name, description;
            header_options Add;
            row_options Edit, Delete;
            title Task;
            limit_by invoice;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`,
                javascript => `$self->calendar_month_js( 'task' )`;
            form_name task;
        }
        uses Gantry::Plugins::Calendar;
    }
}


    </div>
    </fieldset>

  </div>

  <div
    
        class='tab'
    
    id='tab-app-body'>
    

<div class='app_block_new' >
    <fieldset>
    <legend>Create</legend>
    <table>
        <tr>
            <td> Name: </td>
            <td>
                <input type='text' id='new_app_block_name'/>
            </td>
            <td> Type: </td>
            <td>
                <select id='new_app_block_type'>
                    <option value='table'>      Table      </option>
                    <option value='controller'> Controller </option>
                    <option value='base_controller'> Base Controller </option>
                    <option value='literal'>    Literal    </option>
                    <option value='join_table'> Join Table </option>
                    <option value='schema'>     Schema (Postgres only)</option>
                    <option value='sequence'>   Sequence   </option>
                </select>
            </td>
            <td colspan='2'>
                <button type='button'
                        name='new_app_block_create'
                        onclick='javascript:create_app_block()'
                > Create </button>
            </td>
        </tr>
    </table>
    </fieldset>
</div>
<br/>


  
  <div class='app_block_controller'
       id='div_ident_3'>
      
      
        
          
          <fieldset>
          <legend>
              Base Controller
              ( <a href='javascript:show_or_hide( "hideable_ident_3" );'>
                  edit</a>|
<a href="#" name='app_body_delete::ident_3' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
              
<div id='hideable_ident_3'
  
    style='display: none'
  
>
  
                

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_3::no_gen'
       id='ident_3::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_3::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_3::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_3::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_3::controls_table'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_3::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_3::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_3::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_3::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_3::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_3::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_3::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_3::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_3::text_description'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_3::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_3::page_link_label'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_3::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_3::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_3::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_3::skip_test'
       id='ident_3::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_3::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_3' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_3'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_3_create'
                      onclick='javascript:create_method( "ident_3" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_1'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_1" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_1' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_1'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_1",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_3::ident_1'
                        onchange='javascript:type_change(
                            "ident_1",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
    selected='selected' >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_1'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_1::no_gen'
       id='ident_1::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_1::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_1::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_1::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_1::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_1::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_1::title'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_1::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_1::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_1::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_2'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_2" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_2' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_2'
                         value='site_links'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_2",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_3::ident_2'
                        onchange='javascript:type_change(
                            "ident_2",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
    selected='selected' >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_2'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_2::no_gen'
       id='ident_2::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_2::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_2::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_2::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_2::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_2::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


              
</div>
 </td>
          </fieldset>
        

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_table'
       id='div_ident_16'>
      
      
        
        <fieldset>
        <legend>
            Table 
            ( <a href='javascript:show_or_hide( "hideable_ident_16" );'>
                edit</a> |  
<a href="#" name='app_body_delete::ident_16' onclick='javascript:delete_block( this )'>delete</a>
       

            )
        </legend>
        <table>
              <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_16'
                           value='company'
                           onblur='javascript:update_tree(
                               "name",
                               "table::ident_16",
                               this.value
                           )'
                    />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_16'
  
    style='display: none'
  
>
  
                    

  
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> not_for </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_16::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "table_statement_text",
                "ident_16::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this table
        </td>
    </tr>
  
    
    
    <tr>
        <td> foreign_display </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_16::foreign_display'
            value="%name"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_16::foreign_display",
                this.value
            )'
        />
    


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </td>
    </tr>
  
    
    
    <tr>
        <td> refered_to_by </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_16::refered_to_by_input_table'>
        <tr><th> Foreign Table </th>
            <th> Name of Has Many
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_16::refered_to_by_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_16::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_16::refered_to_by_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_16::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Table has many rows from this other table
        </td>
    </tr>
  
    
    
    <tr>
        <td> model_base_class </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_16::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_16::model_base_class",
                this.value
            )'
        />
    


        </td>
        <td>
            Models inherit from this [has good default]
        </td>
    </tr>
  
    
    
    <tr>
        <td> sequence </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_16::sequence'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_16::sequence",
                this.value
            )'
        />
    


        </td>
        <td>
            Which sequence to take default keys from
        </td>
    </tr>
  
    
    
  </table>

  <br />

<div id='quick_table::ident_16' class='quick_edit_div' >
  
  <fieldset>
    <legend>Field Quick Edit</legend>
  <table class='bordered' >
    <tr>
        <th> Column Name </th>
      
      
      
      
        <th>
            SQL Type
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
        <th>
            Label
            <br />
            
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_16'
                   
                   onchange='javascript:quick_all(
                        "ident_16",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_5'>
      <td>
        <input type='text' id='field_name_quick::ident_5'
               value='name'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_5",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_5'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_5::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_5'
               value='Name'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_5::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_5'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_5::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_5'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_5::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_5'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_5::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_6'>
      <td>
        <input type='text' id='field_name_quick::ident_6'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_6",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_6'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_6'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_6'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_6::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_6'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_6'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_7'>
      <td>
        <input type='text' id='field_name_quick::ident_7'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_7",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_7'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_7'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_7'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_7::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_7'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_7'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_8'>
      <td>
        <input type='text' id='field_name_quick::ident_8'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_8",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_8'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_8'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_8::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_9'>
      <td>
        <input type='text' id='field_name_quick::ident_9'
               value='street'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_9",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_9'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_9'
               value='Street'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_9'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_9::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_9'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_9'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_10'>
      <td>
        <input type='text' id='field_name_quick::ident_10'
               value='city'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_10",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_10'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_10'
               value='City'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_10'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_10::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_10'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_10'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_11'>
      <td>
        <input type='text' id='field_name_quick::ident_11'
               value='state'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_11",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_11'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_11::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_11'
               value='State'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_11::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_11'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_11::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_11'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_11::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_11'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_11::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_12'>
      <td>
        <input type='text' id='field_name_quick::ident_12'
               value='zip'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_12",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_12'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_12::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_12'
               value='Zip'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_12::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_12'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_12::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_12'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_12::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_12'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_12::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_13'>
      <td>
        <input type='text' id='field_name_quick::ident_13'
               value='phone'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_13",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_13'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_13'
               value='Phone'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_13'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_13::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_13'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_13'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_14'>
      <td>
        <input type='text' id='field_name_quick::ident_14'
               value='cell'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_14",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_14'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_14'
               value='Cell'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_14'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_14::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_15'>
      <td>
        <input type='text' id='field_name_quick::ident_15'
               value='email'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_15",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_15'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_15'
               value='Email'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_15'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_15::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_15'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_15'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </table>
  <br />
  <button type='button' > Apply Quick Edit </button>
  </fieldset>

  <br />
</div>

  <div class='app_block_table_new' id="create_field_box">
    <fieldset>
    <legend>Create Field(s)</legend>
    <table>
      <tr><td> Name(s): </td>
          <td>
              <input type='text' id='new_field_ident_16' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_16_create'
                      onclick='javascript:create_field( "ident_16" )'
              > Create </button>
          </td>
          <td> Hint: separate names with spaces to add many fields at once.
          </td>
      </tr>
    </table>
  </div>

  <br />

  <fieldset>
    <legend>
        Edit Field:
        <select id='ident_16_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_16::ident_4'
                id='field_edit_option::ident_4'>
            id
        </option>
    
  
    
        <option value='ident_16::ident_5'
                id='field_edit_option::ident_5'>
            name
        </option>
    
  
    
        <option value='ident_16::ident_6'
                id='field_edit_option::ident_6'>
            description
        </option>
    
  
    
        <option value='ident_16::ident_7'
                id='field_edit_option::ident_7'>
            created
        </option>
    
  
    
        <option value='ident_16::ident_8'
                id='field_edit_option::ident_8'>
            modified
        </option>
    
  
    
        <option value='ident_16::ident_9'
                id='field_edit_option::ident_9'>
            street
        </option>
    
  
    
        <option value='ident_16::ident_10'
                id='field_edit_option::ident_10'>
            city
        </option>
    
  
    
        <option value='ident_16::ident_11'
                id='field_edit_option::ident_11'>
            state
        </option>
    
  
    
        <option value='ident_16::ident_12'
                id='field_edit_option::ident_12'>
            zip
        </option>
    
  
    
        <option value='ident_16::ident_13'
                id='field_edit_option::ident_13'>
            phone
        </option>
    
  
    
        <option value='ident_16::ident_14'
                id='field_edit_option::ident_14'>
            cell
        </option>
    
  
    
        <option value='ident_16::ident_15'
                id='field_edit_option::ident_15'>
            email
        </option>
    
  
      </select>
      <div id='fields_for_ident_16' >
  
    
      <div id='field_edit_ident_4' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_4'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_4" );'>edit</a> |
<a href="#" name='field_block_delete::ident_4' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_4'
                         value='id'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_4",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_4'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_4::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_4::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_4::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_4::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_4::is'
                value="primary_key"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_4::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_4::is'
                value="auto"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_4::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_4::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_4::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_4::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_4::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_4::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_4::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_4::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_4::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_4::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_4::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_4::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_4::html_form_optional'
       id='ident_4::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_4::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_4::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_4::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_4::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_4::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_4::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_4::html_form_foreign'
       id='ident_4::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_4::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_4::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_4::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_4::non_essential'
       id='ident_4::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_4::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_5' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_5'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_5" );'>edit</a> |
<a href="#" name='field_block_delete::ident_5' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_5'
                         value='name'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_5",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_5'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_5::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_5::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_5::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_5::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_5::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_5::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_5::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_5::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_5::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_5::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_5::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_5::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_5::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::label'
            value="Name"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_5::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_5::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_5::html_form_optional'
       id='ident_5::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_5::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_5::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_5::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_5::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_5::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_5::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_5::html_form_foreign'
       id='ident_5::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_5::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_5::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_5::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_5::non_essential'
       id='ident_5::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_5::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_6' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_6'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_6" );'>edit</a> |
<a href="#" name='field_block_delete::ident_6' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_6'
                         value='description'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_6",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_6'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_6::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_6::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_6::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_6::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_6::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_6::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_6::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_6::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_6::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_6::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_6::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_6::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_6::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::label'
            value="Description"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_6::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_6::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_6::html_form_optional'
       id='ident_6::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_6::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_6::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_6::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_6::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_6::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_6::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_6::html_form_foreign'
       id='ident_6::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_6::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_6::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_6::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_6::non_essential'
       id='ident_6::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_6::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_7' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_7'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_7" );'>edit</a> |
<a href="#" name='field_block_delete::ident_7' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_7'
                         value='created'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_7",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_7'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_7::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_7::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_7::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_7::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_7::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_7::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_7::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_7::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_7::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_7::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_7::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_7::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_7::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_7::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_7::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_7::html_form_optional'
       id='ident_7::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_7::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_7::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_7::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_7::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_7::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_7::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_7::html_form_foreign'
       id='ident_7::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_7::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_7::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_7::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_7::non_essential'
       id='ident_7::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_7::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_8' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_8'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_8" );'>edit</a> |
<a href="#" name='field_block_delete::ident_8' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_8'
                         value='modified'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_8",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_8'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_8::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_8::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_8::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_8::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_8::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_8::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_8::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_8::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_8::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_8::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_8::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_8::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_8::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_8::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_8::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_8::html_form_optional'
       id='ident_8::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_8::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_8::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_8::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_8::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_8::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_8::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_8::html_form_foreign'
       id='ident_8::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_8::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_8::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_8::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_8::non_essential'
       id='ident_8::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_8::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_9' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_9'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_9" );'>edit</a> |
<a href="#" name='field_block_delete::ident_9' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_9'
                         value='street'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_9",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_9'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_9::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_9::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_9::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_9::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_9::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_9::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_9::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_9::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_9::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_9::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_9::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_9::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_9::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::label'
            value="Street"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_9::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_9::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_9::html_form_optional'
       id='ident_9::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_9::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_9::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_9::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_9::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_9::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_9::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_9::html_form_foreign'
       id='ident_9::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_9::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_9::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_9::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_9::non_essential'
       id='ident_9::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_9::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_10' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_10'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_10" );'>edit</a> |
<a href="#" name='field_block_delete::ident_10' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_10'
                         value='city'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_10",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_10'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_10::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_10::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_10::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_10::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_10::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_10::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_10::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_10::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_10::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_10::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_10::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_10::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_10::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::label'
            value="City"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_10::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_10::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_10::html_form_optional'
       id='ident_10::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_10::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_10::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_10::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_10::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_10::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_10::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_10::html_form_foreign'
       id='ident_10::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_10::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_10::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_10::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_10::non_essential'
       id='ident_10::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_10::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_11' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_11'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_11" );'>edit</a> |
<a href="#" name='field_block_delete::ident_11' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_11'
                         value='state'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_11",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_11'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_11::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_11::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_11::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_11::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_11::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_11::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_11::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_11::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_11::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_11::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_11::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_11::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::label'
            value="State"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_11::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_11::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_11::html_form_optional'
       id='ident_11::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_11::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_11::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_11::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_11::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_11::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_11::html_form_foreign'
       id='ident_11::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_11::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_11::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_11::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_11::non_essential'
       id='ident_11::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_11::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_12' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_12'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_12" );'>edit</a> |
<a href="#" name='field_block_delete::ident_12' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_12'
                         value='zip'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_12",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_12'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_12::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_12::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_12::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_12::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_12::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_12::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_12::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_12::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_12::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_12::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_12::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_12::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_12::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::label'
            value="Zip"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_12::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_12::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_12::html_form_optional'
       id='ident_12::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_12::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_12::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_12::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_12::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_12::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_12::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_12::html_form_foreign'
       id='ident_12::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_12::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_12::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_12::non_essential'
       id='ident_12::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_12::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_13' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_13'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_13" );'>edit</a> |
<a href="#" name='field_block_delete::ident_13' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_13'
                         value='phone'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_13",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_13'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_13::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_13::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_13::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_13::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_13::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_13::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_13::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_13::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_13::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_13::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_13::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_13::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_13::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::label'
            value="Phone"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_13::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_13::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_13::html_form_optional'
       id='ident_13::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_13::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_13::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_13::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_13::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_13::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_13::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_13::html_form_foreign'
       id='ident_13::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_13::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_13::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_13::non_essential'
       id='ident_13::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_13::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_14' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_14'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_14" );'>edit</a> |
<a href="#" name='field_block_delete::ident_14' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_14'
                         value='cell'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_14",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_14'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_14::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_14::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_14::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_14::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_14::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_14::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_14::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_14::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_14::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_14::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_14::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_14::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_14::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::label'
            value="Cell"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_14::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_14::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_14::html_form_optional'
       id='ident_14::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_14::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_14::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_14::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_14::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_14::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_14::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_14::html_form_foreign'
       id='ident_14::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_14::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_14::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_14::non_essential'
       id='ident_14::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_14::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_15' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_15'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_15" );'>edit</a> |
<a href="#" name='field_block_delete::ident_15' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_15'
                         value='email'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_15",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_15'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_15::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_15::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_15::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_15::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_15::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_15::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_15::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_15::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_15::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_15::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_15::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_15::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_15::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::label'
            value="Email"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_15::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_15::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_15::html_form_optional'
       id='ident_15::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_15::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_15::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_15::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_15::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_15::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_15::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_15::html_form_foreign'
       id='ident_15::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_15::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_15::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_15::non_essential'
       id='ident_15::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_15::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
      </div>
  </fieldset>

<br />

  <fieldset>
    <legend>
      Data Statements ( <a href='javascript:show_or_hide( "hideable_data_ident_16" );'>
                          edit</a> )
    </legend>

    
<div id='hideable_data_ident_16'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_16'>


























  
  
  <tr>
    <th id='data_for_field::ident_4'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_4::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_5'> name </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_5::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_6'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_6::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_7'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_7::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_8'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_8::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_9'> street </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_9::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_10'> city </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_10::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_11'> state </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_11::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_12'> zip </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_12::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_13'> phone </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_13::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_14'> cell </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_14::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_15'> email </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_16::ident_15::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


                  
</div>
 </td>
            </tr>
        </table>
        </fieldset>

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_controller'
       id='div_ident_19'>
      
      
        
          
          <fieldset>
          <legend>
              Controller 
              ( <a href='javascript:show_or_hide( "hideable_ident_19" );'>
                  edit</a> |  
<a href="#" name='app_body_delete::ident_19' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
           <table>
              <tr>
                  <td> Name: </td>
                  <td>
                      <input type='text'
                             id='app_block::ident_19'
                             value='Company'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_19",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_19'
                          onchange='javascript:type_change(
                              "ident_19",
                              this.value
                          )'
                      >
                          <option value='stub'
    
                          > stub     </option>

                          <option value='AutoCRUD'
    selected='selected'
                          > AutoCRUD </option>

                          <option value='CRUD'
    
                          > CRUD     </option>

                          <option value='SOAP'
    
                          > SOAP     </option>
                      </select>
                  </td>
              </tr>
              <tr>
                  <td colspan='2'>
                    
<div id='hideable_ident_19'
  
    style='display: none'
  
>
  
                      

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_19::no_gen'
       id='ident_19::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_19::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> rel_location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::rel_location'
            value="company"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::rel_location",
                this.value
            )'
        />
    


        </td>
        <td>
            Location of this controller relative to app location[non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::controls_table'
            value="company"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_19::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_19::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_19::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_19::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::text_description'
            value="company"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::page_link_label'
            value="Company"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_19::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_19::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_19::skip_test'
       id='ident_19::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_19::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_19' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_19'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_19_create'
                      onclick='javascript:create_method( "ident_19" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_17'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_17" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_17' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_17'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_17",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_19::ident_17'
                        onchange='javascript:type_change(
                            "ident_17",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
    selected='selected' >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_17'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_17::no_gen'
       id='ident_17::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_17::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_17::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_17::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    <tr>
        <td> rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_17::rows'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_17::rows",
                this.value
            )'
        />
    


        </td>
        <td>
            How many rows should appear per listing page?
        </td>
    </tr>
  
    
    
    <tr>
        <td> paged_conf </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_17::paged_conf'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_17::paged_conf",
                this.value
            )'
        />
    


        </td>
        <td>
            Take rows per page from this (conf var) accessor
        </td>
    </tr>
  
    
    
    <tr>
        <td> cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_17::cols'
                value="name"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_17::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_17::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_17::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_17::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_17::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include in main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> col_labels </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_17::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_17::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_17::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Labels for fields on main_listing [optional defaults to fields label]
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_17::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_17::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_17::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting the table [like Add]
        </td>
    </tr>
  
    
    
    <tr>
        <td> row_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_17::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_17::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_17::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_17::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_17::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting rows [like Edit]
        </td>
    </tr>
  
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_17::title'
            value="Company"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_17::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_17::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_17::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    <tr>
        <td> limit_by </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_17::limit_by'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_17::limit_by",
                this.value
            )'
        />
    


        </td>
        <td>
            If an arg is supplied, show only matching rows
        </td>
    </tr>
  
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_18'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_18" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_18' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_18'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_18",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_19::ident_18'
                        onchange='javascript:type_change(
                            "ident_18",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
    selected='selected' >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_18'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_18::no_gen'
       id='ident_18::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_18::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_18::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td> all_fields_but </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_18::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_18::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_18::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_18::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_18::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_18::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_18::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to exclude from a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> fields </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_18::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include on a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_keys </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_18::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_18::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_18::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Extra keys to put in the form method hash
        </td>
    </tr>
  
    
    
    <tr>
        <td> form_name </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_18::form_name'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_18::form_name",
                this.value
            )'
        />
    


        </td>
        <td>
            Form name [used with date selections]
        </td>
    </tr>
  
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


                    
</div>
 </td>
              </tr>
          </table>
        

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_table'
       id='div_ident_32'>
      
      
        
        <fieldset>
        <legend>
            Table 
            ( <a href='javascript:show_or_hide( "hideable_ident_32" );'>
                edit</a> |  
<a href="#" name='app_body_delete::ident_32' onclick='javascript:delete_block( this )'>delete</a>
       

            )
        </legend>
        <table>
              <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_32'
                           value='customer'
                           onblur='javascript:update_tree(
                               "name",
                               "table::ident_32",
                               this.value
                           )'
                    />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_32'
  
    style='display: none'
  
>
  
                    

  
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> not_for </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_32::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "table_statement_text",
                "ident_32::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this table
        </td>
    </tr>
  
    
    
    <tr>
        <td> foreign_display </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_32::foreign_display'
            value="%name"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_32::foreign_display",
                this.value
            )'
        />
    


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </td>
    </tr>
  
    
    
    <tr>
        <td> refered_to_by </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_32::refered_to_by_input_table'>
        <tr><th> Foreign Table </th>
            <th> Name of Has Many
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_32::refered_to_by_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_32::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_32::refered_to_by_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_32::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Table has many rows from this other table
        </td>
    </tr>
  
    
    
    <tr>
        <td> model_base_class </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_32::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_32::model_base_class",
                this.value
            )'
        />
    


        </td>
        <td>
            Models inherit from this [has good default]
        </td>
    </tr>
  
    
    
    <tr>
        <td> sequence </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_32::sequence'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_32::sequence",
                this.value
            )'
        />
    


        </td>
        <td>
            Which sequence to take default keys from
        </td>
    </tr>
  
    
    
  </table>

  <br />

<div id='quick_table::ident_32' class='quick_edit_div' >
  
  <fieldset>
    <legend>Field Quick Edit</legend>
  <table class='bordered' >
    <tr>
        <th> Column Name </th>
      
      
      
      
        <th>
            SQL Type
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
        <th>
            Label
            <br />
            
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_32'
                   
                   onchange='javascript:quick_all(
                        "ident_32",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_21'>
      <td>
        <input type='text' id='field_name_quick::ident_21'
               value='name'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_21",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_21'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_21::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_21'
               value='Name'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_21::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_21'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_21::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_21'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_21::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_21'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_21::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_22'>
      <td>
        <input type='text' id='field_name_quick::ident_22'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_22",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_22'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_22::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_22'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_22::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_22'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_22::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_22'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_22::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_22'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_22::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_23'>
      <td>
        <input type='text' id='field_name_quick::ident_23'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_23",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_23'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_23::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_23'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_23::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_23'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_23::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_23'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_23::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_23'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_23::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_24'>
      <td>
        <input type='text' id='field_name_quick::ident_24'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_24",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_24'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_24::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_24'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_24::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_24'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_24::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_24'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_24::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_24'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_24::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_25'>
      <td>
        <input type='text' id='field_name_quick::ident_25'
               value='street'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_25",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_25'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_25::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_25'
               value='Street'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_25::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_25'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_25::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_25'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_25::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_25'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_25::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_26'>
      <td>
        <input type='text' id='field_name_quick::ident_26'
               value='city'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_26",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_26'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_26::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_26'
               value='City'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_26::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_26'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_26::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_26'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_26::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_26'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_26::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_27'>
      <td>
        <input type='text' id='field_name_quick::ident_27'
               value='state'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_27",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_27'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_27::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_27'
               value='State'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_27::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_27'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_27::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_27'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_27::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_27'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_27::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_28'>
      <td>
        <input type='text' id='field_name_quick::ident_28'
               value='zip'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_28",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_28'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_28::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_28'
               value='Zip'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_28::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_28'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_28::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_28'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_28::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_28'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_28::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_29'>
      <td>
        <input type='text' id='field_name_quick::ident_29'
               value='phone'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_29",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_29'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_29::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_29'
               value='Phone'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_29::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_29'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_29::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_29'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_29::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_29'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_29::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_30'>
      <td>
        <input type='text' id='field_name_quick::ident_30'
               value='cell'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_30",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_30'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_30::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_30'
               value='Cell'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_30::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_30'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_30::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_30'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_30::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_30'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_30::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_31'>
      <td>
        <input type='text' id='field_name_quick::ident_31'
               value='email'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_31",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_31'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_31::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_31'
               value='Email'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_31::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_31'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_31::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_31'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_31::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_31'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_31::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </table>
  <br />
  <button type='button' > Apply Quick Edit </button>
  </fieldset>

  <br />
</div>

  <div class='app_block_table_new' id="create_field_box">
    <fieldset>
    <legend>Create Field(s)</legend>
    <table>
      <tr><td> Name(s): </td>
          <td>
              <input type='text' id='new_field_ident_32' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_32_create'
                      onclick='javascript:create_field( "ident_32" )'
              > Create </button>
          </td>
          <td> Hint: separate names with spaces to add many fields at once.
          </td>
      </tr>
    </table>
  </div>

  <br />

  <fieldset>
    <legend>
        Edit Field:
        <select id='ident_32_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_32::ident_20'
                id='field_edit_option::ident_20'>
            id
        </option>
    
  
    
        <option value='ident_32::ident_21'
                id='field_edit_option::ident_21'>
            name
        </option>
    
  
    
        <option value='ident_32::ident_22'
                id='field_edit_option::ident_22'>
            description
        </option>
    
  
    
        <option value='ident_32::ident_23'
                id='field_edit_option::ident_23'>
            created
        </option>
    
  
    
        <option value='ident_32::ident_24'
                id='field_edit_option::ident_24'>
            modified
        </option>
    
  
    
        <option value='ident_32::ident_25'
                id='field_edit_option::ident_25'>
            street
        </option>
    
  
    
        <option value='ident_32::ident_26'
                id='field_edit_option::ident_26'>
            city
        </option>
    
  
    
        <option value='ident_32::ident_27'
                id='field_edit_option::ident_27'>
            state
        </option>
    
  
    
        <option value='ident_32::ident_28'
                id='field_edit_option::ident_28'>
            zip
        </option>
    
  
    
        <option value='ident_32::ident_29'
                id='field_edit_option::ident_29'>
            phone
        </option>
    
  
    
        <option value='ident_32::ident_30'
                id='field_edit_option::ident_30'>
            cell
        </option>
    
  
    
        <option value='ident_32::ident_31'
                id='field_edit_option::ident_31'>
            email
        </option>
    
  
      </select>
      <div id='fields_for_ident_32' >
  
    
      <div id='field_edit_ident_20' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_20'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_20" );'>edit</a> |
<a href="#" name='field_block_delete::ident_20' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_20'
                         value='id'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_20",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_20'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_20::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_20::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_20::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_20::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_20::is'
                value="primary_key"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_20::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_20::is'
                value="auto"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_20::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_20::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_20::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_20::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_20::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_20::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_20::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_20::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_20::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_20::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_20::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_20::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_20::html_form_optional'
       id='ident_20::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_20::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_20::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_20::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_20::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_20::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_20::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_20::html_form_foreign'
       id='ident_20::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_20::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_20::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_20::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_20::non_essential'
       id='ident_20::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_20::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_21' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_21'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_21" );'>edit</a> |
<a href="#" name='field_block_delete::ident_21' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_21'
                         value='name'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_21",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_21'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_21::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_21::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_21::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_21::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_21::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_21::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_21::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_21::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_21::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_21::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_21::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_21::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::label'
            value="Name"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_21::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_21::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_21::html_form_optional'
       id='ident_21::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_21::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_21::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_21::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_21::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_21::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_21::html_form_foreign'
       id='ident_21::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_21::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_21::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_21::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_21::non_essential'
       id='ident_21::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_21::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_22' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_22'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_22" );'>edit</a> |
<a href="#" name='field_block_delete::ident_22' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_22'
                         value='description'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_22",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_22'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_22::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_22::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_22::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_22::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_22::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_22::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_22::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_22::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_22::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_22::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_22::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_22::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_22::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::label'
            value="Description"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_22::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_22::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_22::html_form_optional'
       id='ident_22::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_22::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_22::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_22::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_22::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_22::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_22::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_22::html_form_foreign'
       id='ident_22::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_22::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_22::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_22::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_22::non_essential'
       id='ident_22::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_22::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_23' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_23'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_23" );'>edit</a> |
<a href="#" name='field_block_delete::ident_23' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_23'
                         value='created'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_23",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_23'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_23::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_23::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_23::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_23::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_23::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_23::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_23::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_23::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_23::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_23::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_23::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_23::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_23::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_23::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_23::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_23::html_form_optional'
       id='ident_23::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_23::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_23::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_23::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_23::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_23::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_23::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_23::html_form_foreign'
       id='ident_23::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_23::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_23::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_23::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_23::non_essential'
       id='ident_23::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_23::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_24' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_24'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_24" );'>edit</a> |
<a href="#" name='field_block_delete::ident_24' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_24'
                         value='modified'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_24",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_24'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_24::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_24::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_24::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_24::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_24::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_24::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_24::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_24::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_24::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_24::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_24::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_24::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_24::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_24::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_24::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_24::html_form_optional'
       id='ident_24::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_24::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_24::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_24::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_24::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_24::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_24::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_24::html_form_foreign'
       id='ident_24::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_24::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_24::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_24::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_24::non_essential'
       id='ident_24::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_24::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_25' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_25'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_25" );'>edit</a> |
<a href="#" name='field_block_delete::ident_25' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_25'
                         value='street'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_25",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_25'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_25::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_25::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_25::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_25::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_25::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_25::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_25::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_25::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_25::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_25::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_25::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_25::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_25::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::label'
            value="Street"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_25::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_25::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_25::html_form_optional'
       id='ident_25::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_25::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_25::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_25::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_25::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_25::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_25::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_25::html_form_foreign'
       id='ident_25::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_25::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_25::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_25::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_25::non_essential'
       id='ident_25::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_25::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_26' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_26'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_26" );'>edit</a> |
<a href="#" name='field_block_delete::ident_26' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_26'
                         value='city'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_26",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_26'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_26::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_26::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_26::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_26::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_26::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_26::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_26::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_26::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_26::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_26::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_26::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_26::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_26::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::label'
            value="City"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_26::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_26::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_26::html_form_optional'
       id='ident_26::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_26::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_26::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_26::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_26::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_26::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_26::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_26::html_form_foreign'
       id='ident_26::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_26::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_26::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_26::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_26::non_essential'
       id='ident_26::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_26::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_27' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_27'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_27" );'>edit</a> |
<a href="#" name='field_block_delete::ident_27' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_27'
                         value='state'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_27",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_27'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_27::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_27::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_27::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_27::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_27::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_27::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_27::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_27::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_27::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_27::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_27::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_27::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_27::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::label'
            value="State"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_27::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_27::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_27::html_form_optional'
       id='ident_27::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_27::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_27::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_27::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_27::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_27::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_27::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_27::html_form_foreign'
       id='ident_27::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_27::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_27::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_27::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_27::non_essential'
       id='ident_27::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_27::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_28' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_28'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_28" );'>edit</a> |
<a href="#" name='field_block_delete::ident_28' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_28'
                         value='zip'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_28",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_28'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_28::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_28::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_28::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_28::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_28::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_28::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_28::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_28::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_28::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_28::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_28::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_28::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_28::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::label'
            value="Zip"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_28::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_28::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_28::html_form_optional'
       id='ident_28::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_28::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_28::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_28::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_28::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_28::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_28::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_28::html_form_foreign'
       id='ident_28::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_28::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_28::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_28::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_28::non_essential'
       id='ident_28::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_28::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_29' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_29'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_29" );'>edit</a> |
<a href="#" name='field_block_delete::ident_29' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_29'
                         value='phone'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_29",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_29'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_29::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_29::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_29::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_29::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_29::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_29::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_29::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_29::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_29::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_29::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_29::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_29::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_29::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::label'
            value="Phone"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_29::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_29::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_29::html_form_optional'
       id='ident_29::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_29::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_29::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_29::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_29::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_29::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_29::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_29::html_form_foreign'
       id='ident_29::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_29::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_29::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_29::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_29::non_essential'
       id='ident_29::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_29::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_30' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_30'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_30" );'>edit</a> |
<a href="#" name='field_block_delete::ident_30' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_30'
                         value='cell'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_30",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_30'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_30::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_30::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_30::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_30::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_30::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_30::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_30::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_30::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_30::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_30::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_30::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_30::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_30::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::label'
            value="Cell"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_30::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_30::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_30::html_form_optional'
       id='ident_30::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_30::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_30::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_30::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_30::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_30::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_30::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_30::html_form_foreign'
       id='ident_30::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_30::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_30::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_30::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_30::non_essential'
       id='ident_30::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_30::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_31' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_31'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_31" );'>edit</a> |
<a href="#" name='field_block_delete::ident_31' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_31'
                         value='email'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_31",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_31'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_31::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_31::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_31::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_31::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_31::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_31::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_31::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_31::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_31::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_31::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_31::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_31::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_31::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::label'
            value="Email"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_31::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_31::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_31::html_form_optional'
       id='ident_31::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_31::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_31::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_31::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_31::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_31::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_31::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_31::html_form_foreign'
       id='ident_31::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_31::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_31::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_31::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_31::non_essential'
       id='ident_31::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_31::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
      </div>
  </fieldset>

<br />

  <fieldset>
    <legend>
      Data Statements ( <a href='javascript:show_or_hide( "hideable_data_ident_32" );'>
                          edit</a> )
    </legend>

    
<div id='hideable_data_ident_32'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_32'>


























  
  
  <tr>
    <th id='data_for_field::ident_20'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_20::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_21'> name </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_21::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_22'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_22::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_23'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_23::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_24'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_24::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_25'> street </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_25::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_26'> city </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_26::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_27'> state </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_27::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_28'> zip </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_28::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_29'> phone </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_29::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_30'> cell </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_30::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_31'> email </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_32::ident_31::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


                  
</div>
 </td>
            </tr>
        </table>
        </fieldset>

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_controller'
       id='div_ident_35'>
      
      
        
          
          <fieldset>
          <legend>
              Controller 
              ( <a href='javascript:show_or_hide( "hideable_ident_35" );'>
                  edit</a> |  
<a href="#" name='app_body_delete::ident_35' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
           <table>
              <tr>
                  <td> Name: </td>
                  <td>
                      <input type='text'
                             id='app_block::ident_35'
                             value='Customer'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_35",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_35'
                          onchange='javascript:type_change(
                              "ident_35",
                              this.value
                          )'
                      >
                          <option value='stub'
    
                          > stub     </option>

                          <option value='AutoCRUD'
    selected='selected'
                          > AutoCRUD </option>

                          <option value='CRUD'
    
                          > CRUD     </option>

                          <option value='SOAP'
    
                          > SOAP     </option>
                      </select>
                  </td>
              </tr>
              <tr>
                  <td colspan='2'>
                    
<div id='hideable_ident_35'
  
    style='display: none'
  
>
  
                      

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_35::no_gen'
       id='ident_35::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_35::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> rel_location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::rel_location'
            value="customer"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::rel_location",
                this.value
            )'
        />
    


        </td>
        <td>
            Location of this controller relative to app location[non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::controls_table'
            value="customer"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_35::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_35::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_35::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_35::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_35::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_35::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_35::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::text_description'
            value="customer"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::page_link_label'
            value="Customer"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_35::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_35::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_35::skip_test'
       id='ident_35::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_35::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_35' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_35'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_35_create'
                      onclick='javascript:create_method( "ident_35" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_33'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_33" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_33' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_33'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_33",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_35::ident_33'
                        onchange='javascript:type_change(
                            "ident_33",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
    selected='selected' >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_33'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_33::no_gen'
       id='ident_33::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_33::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_33::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_33::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    <tr>
        <td> rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_33::rows'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_33::rows",
                this.value
            )'
        />
    


        </td>
        <td>
            How many rows should appear per listing page?
        </td>
    </tr>
  
    
    
    <tr>
        <td> paged_conf </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_33::paged_conf'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_33::paged_conf",
                this.value
            )'
        />
    


        </td>
        <td>
            Take rows per page from this (conf var) accessor
        </td>
    </tr>
  
    
    
    <tr>
        <td> cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_33::cols'
                value="name"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_33::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_33::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_33::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_33::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_33::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include in main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> col_labels </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_33::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_33::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_33::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Labels for fields on main_listing [optional defaults to fields label]
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_33::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_33::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_33::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_33::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_33::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting the table [like Add]
        </td>
    </tr>
  
    
    
    <tr>
        <td> row_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_33::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_33::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_33::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_33::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_33::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_33::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_33::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_33::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting rows [like Edit]
        </td>
    </tr>
  
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_33::title'
            value="Customer"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_33::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_33::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_33::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    <tr>
        <td> limit_by </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_33::limit_by'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_33::limit_by",
                this.value
            )'
        />
    


        </td>
        <td>
            If an arg is supplied, show only matching rows
        </td>
    </tr>
  
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_34'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_34" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_34' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_34'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_34",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_35::ident_34'
                        onchange='javascript:type_change(
                            "ident_34",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
    selected='selected' >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_34'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_34::no_gen'
       id='ident_34::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_34::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_34::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_34::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td> all_fields_but </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_34::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_34::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_34::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_34::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_34::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_34::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_34::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_34::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to exclude from a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> fields </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_34::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_34::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_34::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include on a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_keys </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_34::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_34::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_34::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_34::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_34::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_34::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_34::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_34::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_34::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Extra keys to put in the form method hash
        </td>
    </tr>
  
    
    
    <tr>
        <td> form_name </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_34::form_name'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_34::form_name",
                this.value
            )'
        />
    


        </td>
        <td>
            Form name [used with date selections]
        </td>
    </tr>
  
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


                    
</div>
 </td>
              </tr>
          </table>
        

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_table'
       id='div_ident_47'>
      
      
        
        <fieldset>
        <legend>
            Table 
            ( <a href='javascript:show_or_hide( "hideable_ident_47" );'>
                edit</a> |  
<a href="#" name='app_body_delete::ident_47' onclick='javascript:delete_block( this )'>delete</a>
       

            )
        </legend>
        <table>
              <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_47'
                           value='invoice'
                           onblur='javascript:update_tree(
                               "name",
                               "table::ident_47",
                               this.value
                           )'
                    />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_47'
  
    style='display: none'
  
>
  
                    

  
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> not_for </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_47::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "table_statement_text",
                "ident_47::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this table
        </td>
    </tr>
  
    
    
    <tr>
        <td> foreign_display </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_47::foreign_display'
            value="%number"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_47::foreign_display",
                this.value
            )'
        />
    


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </td>
    </tr>
  
    
    
    <tr>
        <td> refered_to_by </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_47::refered_to_by_input_table'>
        <tr><th> Foreign Table </th>
            <th> Name of Has Many
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_47::refered_to_by_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_47::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_47::refered_to_by_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_47::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Table has many rows from this other table
        </td>
    </tr>
  
    
    
    <tr>
        <td> model_base_class </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_47::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_47::model_base_class",
                this.value
            )'
        />
    


        </td>
        <td>
            Models inherit from this [has good default]
        </td>
    </tr>
  
    
    
    <tr>
        <td> sequence </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_47::sequence'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_47::sequence",
                this.value
            )'
        />
    


        </td>
        <td>
            Which sequence to take default keys from
        </td>
    </tr>
  
    
    
  </table>

  <br />

<div id='quick_table::ident_47' class='quick_edit_div' >
  
  <fieldset>
    <legend>Field Quick Edit</legend>
  <table class='bordered' >
    <tr>
        <th> Column Name </th>
      
      
      
      
        <th>
            SQL Type
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
        <th>
            Label
            <br />
            
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                  
                    
                   
                
                  
                  
                  
                  
                    
                   
                
                  
                  
                  
                  
                    
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_47'
                   
                   onchange='javascript:quick_all(
                        "ident_47",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_37'>
      <td>
        <input type='text' id='field_name_quick::ident_37'
               value='number'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_37",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_37'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_37::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_37'
               value='Number'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_37::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_37'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_37::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_37'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_37::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_37'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_37::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_38'>
      <td>
        <input type='text' id='field_name_quick::ident_38'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_38",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_38'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_38::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_38'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_38::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_38'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_38::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_38'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_38::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_38'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_38::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_39'>
      <td>
        <input type='text' id='field_name_quick::ident_39'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_39",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_39'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_39::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_39'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_39::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_39'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_39::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_39'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_39::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_39'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_39::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_40'>
      <td>
        <input type='text' id='field_name_quick::ident_40'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_40",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_40'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_40::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_40'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_40::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_40'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_40::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_40'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_40::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_40'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_40::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_41'>
      <td>
        <input type='text' id='field_name_quick::ident_41'
               value='company'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_41",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_41'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_41::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_41'
               value='Company'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_41::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_41'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_41::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_41'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_41::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_41'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_41::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_42'>
      <td>
        <input type='text' id='field_name_quick::ident_42'
               value='customer'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_42",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_42'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_42::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_42'
               value='Customer'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_42::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_42'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_42::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_42'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_42::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_42'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_42::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_43'>
      <td>
        <input type='text' id='field_name_quick::ident_43'
               value='status'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_43",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_43'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_43::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_43'
               value='Status'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_43::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_43'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_43::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_43'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_43::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_43'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_43::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_44'>
      <td>
        <input type='text' id='field_name_quick::ident_44'
               value='sent'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_44",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_44'
               value='date'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_44::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_44'
               value='Sent'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_44::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_44'
               value='1'
               
               checked='checked'
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_44::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_44'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_44::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_44'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_44::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_45'>
      <td>
        <input type='text' id='field_name_quick::ident_45'
               value='paid'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_45",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_45'
               value='date'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_45::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_45'
               value='Paid'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_45::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_45'
               value='1'
               
               checked='checked'
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_45::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_45'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_45::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_45'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_45::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_46'>
      <td>
        <input type='text' id='field_name_quick::ident_46'
               value='notes'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_46",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_46'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_46::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_46'
               value='Notes'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_46::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_46'
               value='1'
               
               checked='checked'
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_46::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_46'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_46::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_46'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_46::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </table>
  <br />
  <button type='button' > Apply Quick Edit </button>
  </fieldset>

  <br />
</div>

  <div class='app_block_table_new' id="create_field_box">
    <fieldset>
    <legend>Create Field(s)</legend>
    <table>
      <tr><td> Name(s): </td>
          <td>
              <input type='text' id='new_field_ident_47' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_47_create'
                      onclick='javascript:create_field( "ident_47" )'
              > Create </button>
          </td>
          <td> Hint: separate names with spaces to add many fields at once.
          </td>
      </tr>
    </table>
  </div>

  <br />

  <fieldset>
    <legend>
        Edit Field:
        <select id='ident_47_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_47::ident_36'
                id='field_edit_option::ident_36'>
            id
        </option>
    
  
    
        <option value='ident_47::ident_37'
                id='field_edit_option::ident_37'>
            number
        </option>
    
  
    
        <option value='ident_47::ident_38'
                id='field_edit_option::ident_38'>
            description
        </option>
    
  
    
        <option value='ident_47::ident_39'
                id='field_edit_option::ident_39'>
            created
        </option>
    
  
    
        <option value='ident_47::ident_40'
                id='field_edit_option::ident_40'>
            modified
        </option>
    
  
    
        <option value='ident_47::ident_41'
                id='field_edit_option::ident_41'>
            company
        </option>
    
  
    
        <option value='ident_47::ident_42'
                id='field_edit_option::ident_42'>
            customer
        </option>
    
  
    
        <option value='ident_47::ident_43'
                id='field_edit_option::ident_43'>
            status
        </option>
    
  
    
        <option value='ident_47::ident_44'
                id='field_edit_option::ident_44'>
            sent
        </option>
    
  
    
        <option value='ident_47::ident_45'
                id='field_edit_option::ident_45'>
            paid
        </option>
    
  
    
        <option value='ident_47::ident_46'
                id='field_edit_option::ident_46'>
            notes
        </option>
    
  
      </select>
      <div id='fields_for_ident_47' >
  
    
      <div id='field_edit_ident_36' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_36'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_36" );'>edit</a> |
<a href="#" name='field_block_delete::ident_36' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_36'
                         value='id'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_36",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_36'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_36::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_36::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_36::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_36::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_36::is'
                value="primary_key"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_36::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_36::is'
                value="auto"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_36::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_36::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_36::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_36::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_36::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_36::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_36::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_36::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_36::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_36::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_36::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_36::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_36::html_form_optional'
       id='ident_36::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_36::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_36::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_36::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_36::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_36::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_36::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_36::html_form_foreign'
       id='ident_36::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_36::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_36::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_36::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_36::non_essential'
       id='ident_36::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_36::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_37' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_37'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_37" );'>edit</a> |
<a href="#" name='field_block_delete::ident_37' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_37'
                         value='number'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_37",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_37'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_37::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_37::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_37::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_37::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_37::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_37::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_37::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_37::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_37::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_37::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_37::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_37::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_37::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::label'
            value="Number"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_37::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_37::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_37::html_form_optional'
       id='ident_37::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_37::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_37::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_37::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_37::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_37::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_37::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_37::html_form_foreign'
       id='ident_37::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_37::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_37::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_37::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_37::non_essential'
       id='ident_37::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_37::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_38' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_38'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_38" );'>edit</a> |
<a href="#" name='field_block_delete::ident_38' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_38'
                         value='description'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_38",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_38'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_38::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_38::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_38::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_38::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_38::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_38::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_38::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_38::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_38::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_38::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_38::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_38::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_38::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::label'
            value="Description"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_38::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_38::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_38::html_form_optional'
       id='ident_38::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_38::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_38::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_38::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_38::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_38::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_38::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_38::html_form_foreign'
       id='ident_38::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_38::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_38::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_38::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_38::non_essential'
       id='ident_38::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_38::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_39' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_39'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_39" );'>edit</a> |
<a href="#" name='field_block_delete::ident_39' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_39'
                         value='created'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_39",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_39'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_39::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_39::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_39::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_39::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_39::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_39::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_39::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_39::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_39::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_39::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_39::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_39::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_39::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_39::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_39::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_39::html_form_optional'
       id='ident_39::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_39::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_39::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_39::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_39::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_39::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_39::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_39::html_form_foreign'
       id='ident_39::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_39::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_39::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_39::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_39::non_essential'
       id='ident_39::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_39::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_40' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_40'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_40" );'>edit</a> |
<a href="#" name='field_block_delete::ident_40' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_40'
                         value='modified'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_40",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_40'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_40::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_40::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_40::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_40::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_40::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_40::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_40::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_40::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_40::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_40::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_40::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_40::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_40::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_40::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_40::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_40::html_form_optional'
       id='ident_40::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_40::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_40::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_40::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_40::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_40::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_40::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_40::html_form_foreign'
       id='ident_40::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_40::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_40::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_40::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_40::non_essential'
       id='ident_40::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_40::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_41' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_41'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_41" );'>edit</a> |
<a href="#" name='field_block_delete::ident_41' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_41'
                         value='company'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_41",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_41'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_41::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_41::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_41::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_41::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_41::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_41::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_41::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_41::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_41::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_41::refers_to_key'
                    value="company"
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_41::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_41::refers_to_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_41::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
    
    
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::label'
            value="Company"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_41::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_41::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'selected='selected'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_41::html_form_optional'
       id='ident_41::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_41::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_41::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_41::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_41::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_41::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_41::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_41::html_form_foreign'
       id='ident_41::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_41::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_41::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_41::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_41::non_essential'
       id='ident_41::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_41::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_42' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_42'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_42" );'>edit</a> |
<a href="#" name='field_block_delete::ident_42' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_42'
                         value='customer'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_42",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_42'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_42::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_42::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_42::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_42::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_42::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_42::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_42::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_42::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_42::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_42::refers_to_key'
                    value="customer"
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_42::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_42::refers_to_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_42::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
    
    
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::label'
            value="Customer"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_42::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_42::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'selected='selected'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_42::html_form_optional'
       id='ident_42::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_42::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_42::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_42::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_42::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_42::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_42::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_42::html_form_foreign'
       id='ident_42::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_42::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_42::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_42::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_42::non_essential'
       id='ident_42::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_42::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_43' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_43'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_43" );'>edit</a> |
<a href="#" name='field_block_delete::ident_43' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_43'
                         value='status'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_43",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_43'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_43::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_43::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_43::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_43::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_43::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_43::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_43::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_43::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_43::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_43::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_43::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::label'
            value="Status"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_43::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_43::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'selected='selected'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_43::html_form_optional'
       id='ident_43::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_43::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_43::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_43::html_form_options_key'
                    value="Working on it"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_43::html_form_options_value'
                    value="1"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_43::html_form_options_key'
                    value="Billed"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_43::html_form_options_value'
                    value="2"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_43::html_form_options_key'
                    value="Paid"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_43::html_form_options_value'
                    value="3"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_43::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_43::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_43::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_43::html_form_foreign'
       id='ident_43::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_43::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_43::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_43::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_43::non_essential'
       id='ident_43::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_43::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_44' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_44'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_44" );'>edit</a> |
<a href="#" name='field_block_delete::ident_44' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_44'
                         value='sent'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_44",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_44'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_44::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_44::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_44::is'
                value="date"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_44::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_44::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_44::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_44::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_44::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_44::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_44::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_44::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_44::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_44::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::label'
            value="Sent"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_44::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_44::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_44::html_form_optional'
       id='ident_44::html_form_optional'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_44::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_44::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_44::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_44::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_44::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_44::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_44::html_form_foreign'
       id='ident_44::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_44::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::date_select_text'
            value="Select Date"
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_44::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_44::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_44::non_essential'
       id='ident_44::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_44::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_45' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_45'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_45" );'>edit</a> |
<a href="#" name='field_block_delete::ident_45' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_45'
                         value='paid'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_45",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_45'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_45::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_45::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_45::is'
                value="date"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_45::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_45::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_45::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_45::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_45::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_45::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_45::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_45::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_45::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_45::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::label'
            value="Paid"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_45::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_45::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_45::html_form_optional'
       id='ident_45::html_form_optional'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_45::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_45::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_45::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_45::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_45::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_45::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_45::html_form_foreign'
       id='ident_45::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_45::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::date_select_text'
            value="Select Date"
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_45::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_45::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_45::non_essential'
       id='ident_45::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_45::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_46' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_46'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_46" );'>edit</a> |
<a href="#" name='field_block_delete::ident_46' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_46'
                         value='notes'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_46",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_46'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_46::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_46::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_46::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_46::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_46::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_46::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_46::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_46::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_46::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_46::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_46::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_46::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_46::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::label'
            value="Notes"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_46::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_46::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_46::html_form_optional'
       id='ident_46::html_form_optional'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_46::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_46::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_46::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_46::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_46::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_46::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_46::html_form_foreign'
       id='ident_46::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_46::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_46::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_46::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_46::non_essential'
       id='ident_46::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_46::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
      </div>
  </fieldset>

<br />

  <fieldset>
    <legend>
      Data Statements ( <a href='javascript:show_or_hide( "hideable_data_ident_47" );'>
                          edit</a> )
    </legend>

    
<div id='hideable_data_ident_47'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_47'>
























  
  
  <tr>
    <th id='data_for_field::ident_36'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_36::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_37'> number </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_37::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_38'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_38::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_39'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_39::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_40'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_40::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_41'> company </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_41::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_42'> customer </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_42::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_43'> status </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_43::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_44'> sent </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_44::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_45'> paid </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_45::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_46'> notes </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_47::ident_46::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


                  
</div>
 </td>
            </tr>
        </table>
        </fieldset>

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_controller'
       id='div_ident_50'>
      
      
        
          
          <fieldset>
          <legend>
              Controller 
              ( <a href='javascript:show_or_hide( "hideable_ident_50" );'>
                  edit</a> |  
<a href="#" name='app_body_delete::ident_50' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
           <table>
              <tr>
                  <td> Name: </td>
                  <td>
                      <input type='text'
                             id='app_block::ident_50'
                             value='Invoice'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_50",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_50'
                          onchange='javascript:type_change(
                              "ident_50",
                              this.value
                          )'
                      >
                          <option value='stub'
    
                          > stub     </option>

                          <option value='AutoCRUD'
    selected='selected'
                          > AutoCRUD </option>

                          <option value='CRUD'
    
                          > CRUD     </option>

                          <option value='SOAP'
    
                          > SOAP     </option>
                      </select>
                  </td>
              </tr>
              <tr>
                  <td colspan='2'>
                    
<div id='hideable_ident_50'
  
    style='display: none'
  
>
  
                      

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_50::no_gen'
       id='ident_50::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_50::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> rel_location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::rel_location'
            value="invoice"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::rel_location",
                this.value
            )'
        />
    


        </td>
        <td>
            Location of this controller relative to app location[non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::controls_table'
            value="invoice"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_50::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_50::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_50::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_50::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_50::uses'
                value="Gantry::Plugins::Calendar"
                class='urgency_0'
                onblur='javascript:update_multivalue(
                    "controller_statement_text",
                    "ident_50::uses",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_50::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_50::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_50::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::text_description'
            value="invoice"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::page_link_label'
            value="Invoice"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_50::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_50::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_50::skip_test'
       id='ident_50::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_50::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_50' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_50'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_50_create'
                      onclick='javascript:create_method( "ident_50" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_48'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_48" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_48' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_48'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_48",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_50::ident_48'
                        onchange='javascript:type_change(
                            "ident_48",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
    selected='selected' >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_48'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_48::no_gen'
       id='ident_48::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_48::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_48::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_48::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    <tr>
        <td> rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_48::rows'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_48::rows",
                this.value
            )'
        />
    


        </td>
        <td>
            How many rows should appear per listing page?
        </td>
    </tr>
  
    
    
    <tr>
        <td> paged_conf </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_48::paged_conf'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_48::paged_conf",
                this.value
            )'
        />
    


        </td>
        <td>
            Take rows per page from this (conf var) accessor
        </td>
    </tr>
  
    
    
    <tr>
        <td> cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_48::cols'
                value="number"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_48::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_48::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_48::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_48::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_48::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include in main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> col_labels </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_48::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_48::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_48::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Labels for fields on main_listing [optional defaults to fields label]
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_48::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_48::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_48::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting the table [like Add]
        </td>
    </tr>
  
    
    
    <tr>
        <td> row_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_48::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_48::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_48::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_48::row_options_key'
                    value="Tasks"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::row_options_value'
                    value='"/task/main/$id"'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_48::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_48::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_48::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting rows [like Edit]
        </td>
    </tr>
  
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_48::title'
            value="Invoice"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_48::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_48::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_48::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    <tr>
        <td> limit_by </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_48::limit_by'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_48::limit_by",
                this.value
            )'
        />
    


        </td>
        <td>
            If an arg is supplied, show only matching rows
        </td>
    </tr>
  
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_49'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_49" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_49' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_49'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_49",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_50::ident_49'
                        onchange='javascript:type_change(
                            "ident_49",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
    selected='selected' >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_49'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_49::no_gen'
       id='ident_49::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_49::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_49::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_49::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td> all_fields_but </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_49::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_49::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_49::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_49::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_49::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_49::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_49::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_49::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to exclude from a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> fields </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_49::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_49::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_49::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include on a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_keys </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_49::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_49::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_49::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_49::extra_keys_key'
                    value="javascript"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_49::extra_keys_value'
                    value="$self->calendar_month_js( 'invoice' )"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_49::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_49::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_49::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Extra keys to put in the form method hash
        </td>
    </tr>
  
    
    
    <tr>
        <td> form_name </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_49::form_name'
            value="invoice"
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_49::form_name",
                this.value
            )'
        />
    


        </td>
        <td>
            Form name [used with date selections]
        </td>
    </tr>
  
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


                    
</div>
 </td>
              </tr>
          </table>
        

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_table'
       id='div_ident_61'>
      
      
        
        <fieldset>
        <legend>
            Table 
            ( <a href='javascript:show_or_hide( "hideable_ident_61" );'>
                edit</a> |  
<a href="#" name='app_body_delete::ident_61' onclick='javascript:delete_block( this )'>delete</a>
       

            )
        </legend>
        <table>
              <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_61'
                           value='task'
                           onblur='javascript:update_tree(
                               "name",
                               "table::ident_61",
                               this.value
                           )'
                    />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_61'
  
    style='display: none'
  
>
  
                    

  
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> not_for </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_61::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "table_statement_text",
                "ident_61::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this table
        </td>
    </tr>
  
    
    
    <tr>
        <td> foreign_display </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_61::foreign_display'
            value="%name"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_61::foreign_display",
                this.value
            )'
        />
    


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </td>
    </tr>
  
    
    
    <tr>
        <td> refered_to_by </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_61::refered_to_by_input_table'>
        <tr><th> Foreign Table </th>
            <th> Name of Has Many
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_61::refered_to_by_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_61::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_61::refered_to_by_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "table_statement_pair",
                        "ident_61::refered_to_by",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Table has many rows from this other table
        </td>
    </tr>
  
    
    
    <tr>
        <td> model_base_class </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_61::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_61::model_base_class",
                this.value
            )'
        />
    


        </td>
        <td>
            Models inherit from this [has good default]
        </td>
    </tr>
  
    
    
    <tr>
        <td> sequence </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_61::sequence'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_61::sequence",
                this.value
            )'
        />
    


        </td>
        <td>
            Which sequence to take default keys from
        </td>
    </tr>
  
    
    
  </table>

  <br />

<div id='quick_table::ident_61' class='quick_edit_div' >
  
  <fieldset>
    <legend>Field Quick Edit</legend>
  <table class='bordered' >
    <tr>
        <th> Column Name </th>
      
      
      
      
        <th>
            SQL Type
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
        <th>
            Label
            <br />
            
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                  
                    
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_61'
                   
                   onchange='javascript:quick_all(
                        "ident_61",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_52'>
      <td>
        <input type='text' id='field_name_quick::ident_52'
               value='name'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_52",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_52'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_52::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_52'
               value='Name'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_52::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_52'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_52::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_52'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_52::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_52'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_52::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_53'>
      <td>
        <input type='text' id='field_name_quick::ident_53'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_53",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_53'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_53::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_53'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_53::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_53'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_53::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_53'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_53::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_53'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_53::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_54'>
      <td>
        <input type='text' id='field_name_quick::ident_54'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_54",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_54'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_54::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_54'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_54::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_54'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_54::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_54'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_54::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_54'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_54::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_55'>
      <td>
        <input type='text' id='field_name_quick::ident_55'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_55",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_55'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_55::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_55'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_55::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_55'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_55::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_55'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_55::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_55'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_55::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_56'>
      <td>
        <input type='text' id='field_name_quick::ident_56'
               value='invoice'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_56",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_56'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_56::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_56'
               value='Invoice'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_56::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_56'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_56::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_56'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_56::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_56'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_56::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_57'>
      <td>
        <input type='text' id='field_name_quick::ident_57'
               value='due_date'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_57",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_57'
               value='date'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_57::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_57'
               value='Due Date'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_57::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_57'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_57::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_57'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_57::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_57'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_57::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_58'>
      <td>
        <input type='text' id='field_name_quick::ident_58'
               value='hours'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_58",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_58'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_58::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_58'
               value='Hours'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_58::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_58'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_58::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_58'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_58::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_58'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_58::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_59'>
      <td>
        <input type='text' id='field_name_quick::ident_59'
               value='charge_per_hour'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_59",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_59'
               value='int4'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_59::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_59'
               value='Charge Per Hour'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_59::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_59'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_59::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_59'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_59::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_59'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_59::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_60'>
      <td>
        <input type='text' id='field_name_quick::ident_60'
               value='notes'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_60",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_60'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_60::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_60'
               value='Notes'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_60::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_60'
               value='1'
               
               checked='checked'
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_60::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_60'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_60::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_60'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_60::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </table>
  <br />
  <button type='button' > Apply Quick Edit </button>
  </fieldset>

  <br />
</div>

  <div class='app_block_table_new' id="create_field_box">
    <fieldset>
    <legend>Create Field(s)</legend>
    <table>
      <tr><td> Name(s): </td>
          <td>
              <input type='text' id='new_field_ident_61' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_61_create'
                      onclick='javascript:create_field( "ident_61" )'
              > Create </button>
          </td>
          <td> Hint: separate names with spaces to add many fields at once.
          </td>
      </tr>
    </table>
  </div>

  <br />

  <fieldset>
    <legend>
        Edit Field:
        <select id='ident_61_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_61::ident_51'
                id='field_edit_option::ident_51'>
            id
        </option>
    
  
    
        <option value='ident_61::ident_52'
                id='field_edit_option::ident_52'>
            name
        </option>
    
  
    
        <option value='ident_61::ident_53'
                id='field_edit_option::ident_53'>
            description
        </option>
    
  
    
        <option value='ident_61::ident_54'
                id='field_edit_option::ident_54'>
            created
        </option>
    
  
    
        <option value='ident_61::ident_55'
                id='field_edit_option::ident_55'>
            modified
        </option>
    
  
    
        <option value='ident_61::ident_56'
                id='field_edit_option::ident_56'>
            invoice
        </option>
    
  
    
        <option value='ident_61::ident_57'
                id='field_edit_option::ident_57'>
            due_date
        </option>
    
  
    
        <option value='ident_61::ident_58'
                id='field_edit_option::ident_58'>
            hours
        </option>
    
  
    
        <option value='ident_61::ident_59'
                id='field_edit_option::ident_59'>
            charge_per_hour
        </option>
    
  
    
        <option value='ident_61::ident_60'
                id='field_edit_option::ident_60'>
            notes
        </option>
    
  
      </select>
      <div id='fields_for_ident_61' >
  
    
      <div id='field_edit_ident_51' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_51'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_51" );'>edit</a> |
<a href="#" name='field_block_delete::ident_51' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_51'
                         value='id'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_51",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_51'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_51::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_51::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_51::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_51::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_51::is'
                value="primary_key"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_51::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
            <input type='text'
                name='ident_51::is'
                value="auto"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_51::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_51::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_51::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_51::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_51::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_51::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_51::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_51::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_51::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_51::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_51::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_51::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_51::html_form_optional'
       id='ident_51::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_51::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_51::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_51::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_51::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_51::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_51::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_51::html_form_foreign'
       id='ident_51::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_51::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_51::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_51::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_51::non_essential'
       id='ident_51::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_51::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_52' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_52'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_52" );'>edit</a> |
<a href="#" name='field_block_delete::ident_52' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_52'
                         value='name'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_52",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_52'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_52::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_52::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_52::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_52::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_52::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_52::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_52::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_52::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_52::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_52::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_52::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_52::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_52::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::label'
            value="Name"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_52::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_52::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_52::html_form_optional'
       id='ident_52::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_52::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_52::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_52::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_52::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_52::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_52::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_52::html_form_foreign'
       id='ident_52::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_52::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_52::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_52::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_52::non_essential'
       id='ident_52::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_52::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_53' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_53'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_53" );'>edit</a> |
<a href="#" name='field_block_delete::ident_53' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_53'
                         value='description'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_53",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_53'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_53::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_53::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_53::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_53::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_53::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_53::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_53::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_53::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_53::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_53::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_53::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_53::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_53::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::label'
            value="Description"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_53::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_53::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_53::html_form_optional'
       id='ident_53::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_53::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_53::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_53::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_53::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_53::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_53::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_53::html_form_foreign'
       id='ident_53::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_53::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_53::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_53::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_53::non_essential'
       id='ident_53::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_53::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_54' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_54'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_54" );'>edit</a> |
<a href="#" name='field_block_delete::ident_54' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_54'
                         value='created'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_54",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_54'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_54::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_54::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_54::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_54::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_54::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_54::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_54::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_54::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_54::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_54::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_54::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_54::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_54::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_54::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_54::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_54::html_form_optional'
       id='ident_54::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_54::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_54::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_54::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_54::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_54::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_54::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_54::html_form_foreign'
       id='ident_54::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_54::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_54::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_54::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_54::non_essential'
       id='ident_54::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_54::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_55' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_55'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_55" );'>edit</a> |
<a href="#" name='field_block_delete::ident_55' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_55'
                         value='modified'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_55",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_55'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_55::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_55::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_55::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_55::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_55::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_55::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_55::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_55::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_55::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_55::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_55::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_55::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_55::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_55::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_55::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_55::html_form_optional'
       id='ident_55::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_55::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_55::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_55::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_55::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_55::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_55::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_55::html_form_foreign'
       id='ident_55::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_55::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_55::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_55::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_55::non_essential'
       id='ident_55::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_55::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_56' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_56'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_56" );'>edit</a> |
<a href="#" name='field_block_delete::ident_56' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_56'
                         value='invoice'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_56",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_56'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_56::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_56::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_56::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_56::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_56::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_56::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_56::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_56::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_56::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_56::refers_to_key'
                    value="invoice"
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_56::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_56::refers_to_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_56::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
    
    
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::label'
            value="Invoice"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_56::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_56::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'selected='selected'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_56::html_form_optional'
       id='ident_56::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_56::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_56::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_56::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_56::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_56::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_56::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_56::html_form_foreign'
       id='ident_56::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_56::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_56::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_56::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_56::non_essential'
       id='ident_56::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_56::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_57' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_57'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_57" );'>edit</a> |
<a href="#" name='field_block_delete::ident_57' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_57'
                         value='due_date'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_57",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_57'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_57::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_57::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_57::is'
                value="date"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_57::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_57::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_57::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_57::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_57::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_57::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_57::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_57::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_57::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_57::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::label'
            value="Due Date"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_57::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_57::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_57::html_form_optional'
       id='ident_57::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_57::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_57::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_57::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_57::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_57::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_57::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_57::html_form_foreign'
       id='ident_57::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_57::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::date_select_text'
            value="Select Date"
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_57::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_57::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_57::non_essential'
       id='ident_57::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_57::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_58' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_58'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_58" );'>edit</a> |
<a href="#" name='field_block_delete::ident_58' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_58'
                         value='hours'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_58",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_58'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_58::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_58::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_58::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_58::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_58::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_58::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_58::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_58::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_58::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_58::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_58::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_58::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_58::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::label'
            value="Hours"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_58::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_58::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_58::html_form_optional'
       id='ident_58::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_58::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_58::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_58::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_58::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_58::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_58::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_58::html_form_foreign'
       id='ident_58::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_58::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_58::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_58::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_58::non_essential'
       id='ident_58::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_58::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_59' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_59'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_59" );'>edit</a> |
<a href="#" name='field_block_delete::ident_59' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_59'
                         value='charge_per_hour'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_59",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_59'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_59::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_59::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_59::is'
                value="int4"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_59::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_59::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_59::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_59::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_59::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_59::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_59::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_59::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_59::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_59::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::label'
            value="Charge Per Hour"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_59::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_59::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_59::html_form_optional'
       id='ident_59::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_59::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_59::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_59::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_59::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_59::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_59::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_59::html_form_foreign'
       id='ident_59::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_59::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_59::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_59::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_59::non_essential'
       id='ident_59::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_59::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
    
      <div id='field_edit_ident_60' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_60'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_60" );'>edit</a> |
<a href="#" name='field_block_delete::ident_60' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_60'
                         value='notes'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_60",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_60'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> not_for </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select multiple
            name='ident_60::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_60::not_for",
                myvalue
              )'
    >
    
        <option value='SQL'        >
        SQL
        </option>
    
        <option value='Model'        >
        Model
        </option>
    
    </select>


        </td>
        <td>
            Tell Model and/or SQL to skip this field
        </td>
    </tr>
  
    
    <tr>
        <td> is </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_60::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_60::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_60::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_60::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_60::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_60::is",
                this,
                "full_edit"
            )'
        />
        
        
    


        </td>
        <td>
            SQL type clause phrases, e.g.:<pre>int4
varchar
primary_key
auto</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> refers_to </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_60::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_60::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_60::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_60::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_60::refers_to",
                        0,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Where this foreign key points
        </td>
    </tr>
  
    
    <tr>
        <td> on_delete </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::on_delete",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row dies
        </td>
    </tr>
  
    
    <tr>
        <td> on_update </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::on_update",
                this.value
            )'
        />
    


        </td>
        <td>
            What to do when foreign key column's row changes
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::label'
            value="Notes"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::label",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Default on-screen label for field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    <select             id='ident_60::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_60::html_form_type",
                myvalue
              )'
    >
    
        <option value='undefined'        >
        -- Choose One --
        </option>
    
        <option value='text'selected='selected'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </option>
    
        <option value='display'        >
        display
        </option>
    
    </select>


        </td>
        <td>
            form type: text, textarea, select
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_optional </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_60::html_form_optional'
       id='ident_60::html_form_optional'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_60::html_form_optional",
           this.checked,
           "",
           "full_edit"
       )'
/>


        </td>
        <td>
            May user skip this field?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_constraint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_constraint",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Data::FormValidator constraint, e.g.: <pre>qr{^\d$}</pre>
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_default_value </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_default_value",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            Form element value when no other is available
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_cols",
                this.value
            )'
        />
    


        </td>
        <td>
            cols attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_rows",
                this.value
            )'
        />
    


        </td>
        <td>
            rows attribute of text area
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_display_size </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_hint",
                this.value
            )'
        />
    


        </td>
        <td>
            form field hint
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_60::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_60::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_60::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_60::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_60::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Choices for fields of type select [ignored for refers_to fields]
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_foreign </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_60::html_form_foreign'
       id='ident_60::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_60::html_form_foreign",
           this.checked
       )'
/>


        </td>
        <td>
            Display field is foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


        </td>
        <td>
            link text for date popup window
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_raw_html </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_60::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_60::html_form_raw_html",
                this.value
            )'
        />
    


        </td>
        <td>
            appears before this field's table row
        </td>
    </tr>
  
    
    <tr>
        <td> non_essential </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_60::non_essential'
       id='ident_60::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_60::non_essential",
           this.checked
       )'
/>


        </td>
        <td>
            Tells modeler: retrieve only when accessed
        </td>
    </tr>
  
  </table>

                  
</div>
 </td>
            </tr>
         </table>
         </fieldset>

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
      </div>
  </fieldset>

<br />

  <fieldset>
    <legend>
      Data Statements ( <a href='javascript:show_or_hide( "hideable_data_ident_61" );'>
                          edit</a> )
    </legend>

    
<div id='hideable_data_ident_61'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_61'>






















  
  
  <tr>
    <th id='data_for_field::ident_51'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_51::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_52'> name </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_52::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_53'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_53::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_54'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_54::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_55'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_55::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_56'> invoice </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_56::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_57'> due_date </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_57::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_58'> hours </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_58::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_59'> charge_per_hour </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_59::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_60'> notes </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_61::ident_60::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


                  
</div>
 </td>
            </tr>
        </table>
        </fieldset>

      

      <br style='clear: both' />

  </div>














  <br /> 


  
  <div class='app_block_controller'
       id='div_ident_64'>
      
      
        
          
          <fieldset>
          <legend>
              Controller 
              ( <a href='javascript:show_or_hide( "hideable_ident_64" );'>
                  edit</a> |  
<a href="#" name='app_body_delete::ident_64' onclick='javascript:delete_block( this )'>delete</a>
       

              )
          </legend>
           <table>
              <tr>
                  <td> Name: </td>
                  <td>
                      <input type='text'
                             id='app_block::ident_64'
                             value='Task'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_64",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_64'
                          onchange='javascript:type_change(
                              "ident_64",
                              this.value
                          )'
                      >
                          <option value='stub'
    
                          > stub     </option>

                          <option value='AutoCRUD'
    selected='selected'
                          > AutoCRUD </option>

                          <option value='CRUD'
    
                          > CRUD     </option>

                          <option value='SOAP'
    
                          > SOAP     </option>
                      </select>
                  </td>
              </tr>
              <tr>
                  <td colspan='2'>
                    
<div id='hideable_ident_64'
  
    style='display: none'
  
>
  
                      

  

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_64::no_gen'
       id='ident_64::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_64::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> rel_location </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::rel_location'
            value="task"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::rel_location",
                this.value
            )'
        />
    


        </td>
        <td>
            Location of this controller relative to app location[non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::controls_table'
            value="task"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_64::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_64::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::gen_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_64::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_64::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::stub_uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_64::uses'
                value="Gantry::Plugins::Calendar"
                class='urgency_0'
                onblur='javascript:update_multivalue(
                    "controller_statement_text",
                    "ident_64::uses",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_64::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_64::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_64::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::text_description'
            value="task"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::page_link_label'
            value="Task"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_64::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_64::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_64::skip_test'
       id='ident_64::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_64::skip_test",
           this.checked
       )'
/>


        </td>
        <td>
            Skip default page hit test of this controller
        </td>
    </tr>
  
    
    
    
    
  </table>

 
  <br />

  <div class='app_block_controller_element'>
    <fieldset>
    <legend>Create Method</legend>
    <table>
      <tr><td> Name: </td>
          <td>
              <input type='text' id='new_method_ident_64' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_64'>
              <option value='stub'>          stub          </option>
              <option value='main_listing'>  main_listing  </option>
              <option value='AutoCRUD_form'> AutoCRUD_form </option>
              <option value='CRUD_form'>     CRUD_form     </option>
              <option value='base_links'>    base_links    </option>
              <option value='links'>         links         </option>
              <option value='SOAP'>          SOAP          </option>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_64_create'
                      onclick='javascript:create_method( "ident_64" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_62'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_62" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_62' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_62'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_62",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_64::ident_62'
                        onchange='javascript:type_change(
                            "ident_62",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
    selected='selected' >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_62'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_62::no_gen'
       id='ident_62::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_62::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_62::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_62::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    <tr>
        <td> rows </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_62::rows'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_62::rows",
                this.value
            )'
        />
    


        </td>
        <td>
            How many rows should appear per listing page?
        </td>
    </tr>
  
    
    
    <tr>
        <td> paged_conf </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_62::paged_conf'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_62::paged_conf",
                this.value
            )'
        />
    


        </td>
        <td>
            Take rows per page from this (conf var) accessor
        </td>
    </tr>
  
    
    
    <tr>
        <td> cols </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_62::cols'
                value="name"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_62::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_62::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_62::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_62::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_62::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include in main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> col_labels </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_62::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_62::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_62::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Labels for fields on main_listing [optional defaults to fields label]
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_62::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_62::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_62::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_62::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_62::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting the table [like Add]
        </td>
    </tr>
  
    
    
    <tr>
        <td> row_options </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_62::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_62::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_62::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_62::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_62::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_62::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_62::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_62::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting rows [like Edit]
        </td>
    </tr>
  
    
    
    <tr>
        <td> title </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_62::title'
            value="Task"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_62::title",
                this.value
            )'
        />
    


        </td>
        <td>
            Browser title bar title for main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> html_template </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_62::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_62::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            Template to use for main_listing [defaults to results.tt or main.tt]
        </td>
    </tr>
  
    
    
    <tr>
        <td> limit_by </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_62::limit_by'
            value="invoice"
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_62::limit_by",
                this.value
            )'
        />
    


        </td>
        <td>
            If an arg is supplied, show only matching rows
        </td>
    </tr>
  
    
    
    
    
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_63'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_63" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_63' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_63'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_63",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_64::ident_63'
                        onchange='javascript:type_change(
                            "ident_63",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
     >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
    selected='selected' >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_63'
  
    style='display: none'
  
>
  
                    

  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Description </th>
    </tr>
  
    
    
    <tr>
        <td> no_gen </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='ident_63::no_gen'
       id='ident_63::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_63::no_gen",
           this.checked
       )'
/>


        </td>
        <td>
            Skip this method completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_args </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_63::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_63::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Extra args for any method
        </td>
    </tr>
  
    
    
    
    
    
    
    
    
    
    
    
    <tr>
        <td> all_fields_but </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
            <input type='text'
                name='ident_63::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_63::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_63::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_63::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_63::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_63::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_63::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_63::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to exclude from a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> fields </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='ident_63::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_63::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_63::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include on a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    
    <tr>
        <td> extra_keys </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='ident_63::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_63::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_63::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_63::extra_keys_key'
                    value="javascript"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_63::extra_keys_value'
                    value="$self->calendar_month_js( 'task' )"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_63::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_63::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_63::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            Extra keys to put in the form method hash
        </td>
    </tr>
  
    
    
    <tr>
        <td> form_name </td>
        <td>

            
            
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='ident_63::form_name'
            value="task"
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_63::form_name",
                this.value
            )'
        />
    


        </td>
        <td>
            Form name [used with date selections]
        </td>
    </tr>
  
    
    
  </table>

                  
</div>
 </td>
            </tr>
         </table>

        <br style='clear: both' />

    </div>



    <br />
  


                    
</div>
 </td>
              </tr>
          </table>
        

      

      <br style='clear: both' />

  </div>














  <br /> 


  </div>

  <div
    
        class='tab'
    
    id='tab-backends'>
    
<table class='bordered'>
    <tr><th> Type </th>
        <th> Backend </th>
        <th> What Does It Make? </th>
        <th> Config Statements </th>
    </tr>
    
    
        
        
    <tr>
          
<td valign='top'>CGI </td>

<td valign='top'>
  
<input type='checkbox' value='CGI::Gantry'
       name='backend_CGI::Gantry' checked='checked'        onchange='javascript:update_tree(
           "backend", "CGI::Gantry", this.checked
       )'
/>Gantry

</td>

<td valign='top'>
    
        CGI or FastCGI dispatching script
        <br />
    
        Stand alone Gantry::Server [optional]
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> FastCGI </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_fast_cgi'
       id='fast_cgi'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::fast_cgi",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Make the script for use with FastCGI </td>
<tr>

    
        
<tr>
<td> Use Gantry::Conf </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gantry_conf'
       id='gantry_conf'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::gantry_conf",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> check here if you use the Conf Gantry backend </td>
<tr>

    
        
<tr>
<td> Build Server </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_with_server'
       id='with_server'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::with_server",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Turns on stand alone Gantry::Server generation </td>
<tr>

    
        
<tr>
<td> Server Port </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='server_port'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "CGI::Gantry::server_port",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Specifies the port for stand alone server [ignored unless Build Server is checked] </td>
<tr>

    
        
<tr>
<td> Generate Root Path </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gen_root'
       id='gen_root'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::gen_root",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Adds a root => 'html' statement to config </td>
<tr>

    
        
<tr>
<td> Database Flexibility </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_flex_db'
       id='flex_db'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "CGI::Gantry::flex_db",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Adds command line args to stand alone server to allow easy DBD switching </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "CGI::Gantry::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>Conf </td>

<td valign='top'>
  
<input type='checkbox' value='Conf::Gantry'
       name='backend_Conf::Gantry'       onchange='javascript:update_tree(
           "backend", "Conf::Gantry", this.checked
       )'
/>Gantry

</td>

<td valign='top'>
    
        Your config info for immediate use with Gantry::Conf
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Conf::Gantry::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Conf Instance </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='instance'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Conf::Gantry::instance",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Your Gantry::Conf instance </td>
<tr>

    
        
<tr>
<td> Conf File </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='conffile'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Conf::Gantry::conffile",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Your master conf file [use a full path] </td>
<tr>

    
        
<tr>
<td> Generate Root Path </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gen_root'
       id='gen_root'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Conf::Gantry::gen_root",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Adds a root => 'html' statement to config </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Conf::Gantry::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    <tr>
          
<td valign='top'>Conf </td>

<td valign='top'>
  
<input type='checkbox' value='Conf::General'
       name='backend_Conf::General'       onchange='javascript:update_tree(
           "backend", "Conf::General", this.checked
       )'
/>General

</td>

<td valign='top'>
    
        Your config info in Config::General format
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Conf::General::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Generate Root Path </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gen_root'
       id='gen_root'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Conf::General::gen_root",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Adds a root => 'html' statement to config </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Conf::General::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>Control </td>

<td valign='top'>
  
<input type='checkbox' value='Control::Gantry'
       name='backend_Control::Gantry' checked='checked'        onchange='javascript:update_tree(
           "backend", "Control::Gantry", this.checked
       )'
/>Gantry

</td>

<td valign='top'>
    
        Base module stub [safe to change]
        <br />
    
        Controller stubs [safe to change]
        <br />
    
        Generated code [please, do not edit]
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Control::Gantry::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Run Tests </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_run_test'
       id='run_test'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "Control::Gantry::run_test",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Makes tests which hit pages via a simple server </td>
<tr>

    
        
<tr>
<td> Full Use Statement </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_full_use'
       id='full_use'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Control::Gantry::full_use",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> use Gantry qw( -Engine=... ); [defaults to false] </td>
<tr>

    
        
<tr>
<td> For use with DBIx::Class </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_dbix'
       id='dbix'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "Control::Gantry::dbix",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Makes controllers usable with DBIx::Class </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Control::Gantry::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>HttpdConf </td>

<td valign='top'>
  
<input type='checkbox' value='HttpdConf::Gantry'
       name='backend_HttpdConf::Gantry'       onchange='javascript:update_tree(
           "backend", "HttpdConf::Gantry", this.checked
       )'
/>Gantry

</td>

<td valign='top'>
    
        Include file for mod_perl apache conf
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "HttpdConf::Gantry::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Use Gantry::Conf </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gantry_conf'
       id='gantry_conf'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "HttpdConf::Gantry::gantry_conf",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> check here if you use the Conf Gantry backend </td>
<tr>

    
        
<tr>
<td> Skip Config </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_skip_config'
       id='skip_config'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "HttpdConf::Gantry::skip_config",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> do not generate PerlSetVar statements [checking gantry_conf makes this true] </td>
<tr>

    
        
<tr>
<td> Full Use Statement </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_full_use'
       id='full_use'
       class='urgency_0'       checked='checked'       onchange='javascript:update_tree(
           "conf_bool",
           "HttpdConf::Gantry::full_use",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> use Gantry qw( -Engine=... ); [defaults to true] </td>
<tr>

    
        
<tr>
<td> Generate Root Path </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_gen_root'
       id='gen_root'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "HttpdConf::Gantry::gen_root",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Adds a root => 'html' statement to config </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "HttpdConf::Gantry::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>Init </td>

<td valign='top'>
  
<input type='checkbox' value='Init::Std'
       name='backend_Init::Std' checked='checked'        onchange='javascript:update_tree(
           "backend", "Init::Std", this.checked
       )'
/>Std

</td>

<td valign='top'>
    
        Module::Build script
        <br />
    
        Almost empty Changes file
        <br />
    
        Boilerplate README
        <br />
    
        lib dir used by Control and Model backends
        <br />
    
        testing dir used by Control backend
        <br />
    
        Copy of your bigtop file [create mode only]
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Init::Std::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip MANIFEST generation </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Init::Std::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>Model </td>

<td valign='top'>
  
<input type='checkbox' value='Model::GantryCDBI'
       name='backend_Model::GantryCDBI'       onchange='javascript:update_tree(
           "backend", "Model::GantryCDBI", this.checked
       )'
/>GantryCDBI

</td>

<td valign='top'>
    
        Class::DBI style model stubs [safe to change]
        <br />
    
        Class::DBI style model specifications [please, do not change]
        <br />
    
        This backend is incompatible with other Model backends.
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Model::GantryCDBI::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Models Inherit From </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Model::GantryCDBI::model_base_class",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Defaults to Gantry::Utils::CDBI </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Model::GantryCDBI::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    <tr>
          
<td valign='top'>Model </td>

<td valign='top'>
  
<input type='checkbox' value='Model::GantryDBIxClass'
       name='backend_Model::GantryDBIxClass' checked='checked'        onchange='javascript:update_tree(
           "backend", "Model::GantryDBIxClass", this.checked
       )'
/>GantryDBIxClass

</td>

<td valign='top'>
    
        DBIx::Class style model stubs [safe to change]
        <br />
    
        DBIx::Class style model specifications [please, do not change]
        <br />
    
        This backend requires "For use with DBIx::Class" to checked for the Control Gantry backend.
        <br />
    
        This backend is incompatible with other Model backends.
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "Model::GantryDBIxClass::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Models Inherit From </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Model::GantryDBIxClass::model_base_class",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Defaults to Gantry::Utils::DBIxClass </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "Model::GantryDBIxClass::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>SiteLook </td>

<td valign='top'>
  
<input type='checkbox' value='SiteLook::GantryDefault'
       name='backend_SiteLook::GantryDefault' checked='checked'        onchange='javascript:update_tree(
           "backend", "SiteLook::GantryDefault", this.checked
       )'
/>GantryDefault

</td>

<td valign='top'>
    
        A sample template toolkit wrapper [please change it]
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "SiteLook::GantryDefault::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Gantry Wrapper Path </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='gantry_wrapper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "SiteLook::GantryDefault::gantry_wrapper",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> Path to sample_wrapper.tt in the Gantry distribution [defaults to ./html] </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
        
        
    <tr>
          
<td valign='top'>SQL </td>

<td valign='top'>
  
<input type='checkbox' value='SQL::MySQL'
       name='backend_SQL::MySQL' checked='checked'        onchange='javascript:update_tree(
           "backend", "SQL::MySQL", this.checked
       )'
/>MySQL

</td>

<td valign='top'>
    
        MySQL database schema
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "SQL::MySQL::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "SQL::MySQL::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    <tr>
          
<td valign='top'>SQL </td>

<td valign='top'>
  
<input type='checkbox' value='SQL::Postgres'
       name='backend_SQL::Postgres' checked='checked'        onchange='javascript:update_tree(
           "backend", "SQL::Postgres", this.checked
       )'
/>Postgres

</td>

<td valign='top'>
    
        Postgres database schema
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "SQL::Postgres::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "SQL::Postgres::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    <tr>
          
<td valign='top'>SQL </td>

<td valign='top'>
  
<input type='checkbox' value='SQL::SQLite'
       name='backend_SQL::SQLite' checked='checked'        onchange='javascript:update_tree(
           "backend", "SQL::SQLite", this.checked
       )'
/>SQLite

</td>

<td valign='top'>
    
        SQLite database schema
        
    
</td>

<!-- STATEMENTS -->
<td valign='top'>
    <table>
    
        
<tr>
<td> No Gen </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='backend_no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "conf_bool",
           "SQL::SQLite::no_gen",
           this.checked
       )'
/>


</td>
</tr>
<tr>
<td colspan='2'> Skip everything for this backend </td>
<tr>

    
        
<tr>
<td> Alternate Template </td>
<td>
    
    
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "conf_text",
                "SQL::SQLite::template",
                this.value
            )'
        />
    


</td>
</tr>
<tr>
<td colspan='2'> A custom TT template. </td>
<tr>

    
    </table>
</td>

    </tr>
        
    
</table>







  </div>

  <div
    
        class='tab'
    
    id='tab-app-statements'>
    
<table class='bordered'>
    <tr><th> Keyword </th>
        <th> Value(s) </th>
        <th> What Is It? </th>
        <th> Who Understands It? </th>
    </tr>
    <!--    **********************************************
            One row for each app level statement
            ********************************************** -->
    
    
    <tr>
      <td>No Gen</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<input type='checkbox'
       value='app::no_gen'
       id='no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "app_statement_bool",
           "no_gen",
           this.checked
       )'
/>


      </td>
      <td>Skip this app completely</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Bigtop Parser
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>Base Location</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        <input type='text'
            id='location'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "app_statement_text",
                "location",
                this.value
            )'
        />
    


      </td>
      <td>Base Location of the app [defaults to /]<br />Do not use if you have a Base Controller.</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        CGI *
        <br />
      
        
        
        
        
        Conf *
        <br />
      
        
        
        
        
        Control *
        <br />
      
        
        
        
        
        HttpdConf *
        <br />
      
        
        
        
        
        SiteLook GantryDefault
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>Authors</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




      <table id='app::authors_input_table'>
        <tr><th> Name </th>
            <th> Email Address
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='app::authors_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "app_statement_pair",
                        "authors",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='app::authors_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "app_statement_pair",
                        "authors",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


      </td>
      <td>Who to blame for the app</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Control *
        <br />
      
        
        
        
        
        Init Std
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>Contact Us</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<textarea id='contact_us'
          cols='50' rows='6'
          class='urgency_0'
    onblur='javascript:update_tree(
        "app_statement_text",
        "contact_us",
        this.value
    )'
>
    
</textarea>


      </td>
      <td>How to send complaints or join the project</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Control *
        <br />
      
        
        
        
        
        Init Std
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>Copyright Holder</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='app::copyright_holder'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "app_statement_text",
                "copyright_holder",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='app::copyright_holder'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "app_statement_text",
                "copyright_holder",
                this
            )'
        />
        
        
    


      </td>
      <td>Who owns the app [defaults to 1st author]</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Control *
        <br />
      
        
        
        
        
        Init Std
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>License Text</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




<textarea id='license_text'
          cols='50' rows='6'
          class='urgency_0'
    onblur='javascript:update_tree(
        "app_statement_text",
        "license_text",
        this.value
    )'
>
    
</textarea>


      </td>
      <td>Restrictions [defaults to Perl license]</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Control *
        <br />
      
        
        
        
        
        Init Std
        
      
      </td>
      </tr>
    
    
    <tr>
      <td>Modules Used</td>
      <td>
        

        
<!-- values are double qouted to prevent clashes with single
     quotes in the values -->




    
        
        
        <input type='text'
            name='app::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "app_statement_text",
                "uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='app::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "app_statement_text",
                "uses",
                this
            )'
        />
        
        
    


      </td>
      <td>List of modules used by base module<br />Do not use if you have a Base Controller.</td>
      <td>
        <!--    **********************************************
                Show each understanding backend
                ********************************************** -->
      
        
        
        
        
        Control *
        
      
      </td>
      </tr>
    
</table>

  </div>

  <div
    
        class='tab'
    
    id='tab-app-config'>
    
<div class='app_block'>
<table id='app_config_table' class='bordered'>
    <tr><th> Keyword </th>
        <th> Value </th>
        <th> Skip Accessor? </th>
        <th> Delete Buttons </th>
    </tr>
    
      <tr id='app_config::row::dbconn'>
        <td> dbconn </td>
        <td>
          <input type='text' name='app_conf_value::dbconn'
               value='dbi:SQLite:dbname=app.db'
               onblur='javascritp:update_tree(
                   "app_conf_statement",
                   "dbconn",
                   this.value
               )'
          />
        </td>
        <td>
            <input type='checkbox'
                   value='app_config_box::dbconn'
                   name='app_config_box::dbconn'checked='checked'                   onchange='javascript:update_tree(
                       "app_conf_accessor",
                       "dbconn",
                       this.checked
                   )'
            />
        </td>
        <td>
            <button type='button'
                    name='app_config_delete::dbconn'
                    onclick='javascript:delete_app_config( this )' />
              Delete
            </button>
        </td>
      </tr>
    
      <tr id='app_config::row::template_wrapper'>
        <td> template_wrapper </td>
        <td>
          <input type='text' name='app_conf_value::template_wrapper'
               value='genwrapper.tt'
               onblur='javascritp:update_tree(
                   "app_conf_statement",
                   "template_wrapper",
                   this.value
               )'
          />
        </td>
        <td>
            <input type='checkbox'
                   value='app_config_box::template_wrapper'
                   name='app_config_box::template_wrapper'checked='checked'                   onchange='javascript:update_tree(
                       "app_conf_accessor",
                       "template_wrapper",
                       this.checked
                   )'
            />
        </td>
        <td>
            <button type='button'
                    name='app_config_delete::template_wrapper'
                    onclick='javascript:delete_app_config( this )' />
              Delete
            </button>
        </td>
      </tr>
    
    
      <tr>
        <td> <button type='button' name='app_config'
                     onclick='javascript:add_app_config()' />
                New Config Statement:
             </button>
        </td>
        <td>
             <input type='text' id='app_config_new' value='' />
        </td>
        <td>
            <!-- place holder so the table cell borders look good -->
        </td>
      </tr>
</table>
</div>

  </div>

</div>

<br style='clear: both' />
</div>
</form>

<!-- Set the tab pane's scroll bar. -->
<!-- I don't this think is used any more.
     We never refresh, so we don't need it. -->
<script type='text/javascript'>
var tabs_div = document.getElementById( 'tabs' );
tabs_div.scrollTop = 0;
document.body.scrollTop = 0
</script>

<div id="debug_chatter"></div>

</body>
</html>