


  <div class='app_block_sequence'
       id='div_ident_13'>
      
      
        
        <fieldset>
        <legend>
            Sequence 
            ( 
<a href="#" name='app_body_delete::ident_13' onclick='javascript:delete_block( this )'>delete</a>
       

            )
        </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_13'
                           value='addresses_seq'
                           onblur='javascript:update_tree(
                               "name",
                               "sequence::ident_13",
                               this.value
                           )'
                    />
                </td>
            </tr>
        </table>
      

      <br style='clear: both' />

  </div>

















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

            )
        </legend>
        <table>
              <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_14'
                           value='addresses'
                           onblur='javascript:update_tree(
                               "name",
                               "table::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(
                "table_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 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_14::foreign_display'
            value="%ident"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_14::foreign_display",
                this.value
            )'
        />
    


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </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_14::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_14::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_14::sequence'
            value="addresses_seq"
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_14::sequence",
                this.value
            )'
        />
    


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

  <br />

<div id='quick_table::ident_14' 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_14'
                   
                   onchange='javascript:quick_all(
                        "ident_14",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_16'>
      <td>
        <input type='text' id='field_name_quick::ident_16'
               value='ident'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_16",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_16'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_16::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_16'
               value='Ident'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_16::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_16'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_16::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_16'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_16::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_16'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_16::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_17'>
      <td>
        <input type='text' id='field_name_quick::ident_17'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_17",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_17'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_17::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_17'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_17::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_17'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_17::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_17'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_17::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_17'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_17::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_18'>
      <td>
        <input type='text' id='field_name_quick::ident_18'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_18",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_18'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_18::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_18'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_18::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_18'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_18::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_18'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_18::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_18'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_18::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_19'>
      <td>
        <input type='text' id='field_name_quick::ident_19'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_19",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_19'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_19::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_19'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_19::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_19'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_19::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_19'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_19::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_19'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_19::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_14' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_14_create'
                      onclick='javascript:create_field( "ident_14" )'
              > 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_14_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_14::ident_15'
                id='field_edit_option::ident_15'>
            id
        </option>
    
  
    
        <option value='ident_14::ident_16'
                id='field_edit_option::ident_16'>
            ident
        </option>
    
  
    
        <option value='ident_14::ident_17'
                id='field_edit_option::ident_17'>
            description
        </option>
    
  
    
        <option value='ident_14::ident_18'
                id='field_edit_option::ident_18'>
            created
        </option>
    
  
    
        <option value='ident_14::ident_19'
                id='field_edit_option::ident_19'>
            modified
        </option>
    
  
      </select>
      <div id='fields_for_ident_14' >
  
    
      <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='id'
                         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="int4"
                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="primary_key"
                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="auto"
                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=""
            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'        >
        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_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 id='field_edit_ident_16' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_16'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_16" );'>edit</a> |
<a href="#" name='field_block_delete::ident_16' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_16'
                         value='ident'
                         onblur='javascript:update_tree(
                             "name",
                             "field::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(
                "field_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 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_16::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_16::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_16::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_16::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_16::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_16::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_16::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_16::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_16::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_16::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_16::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_16::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::label'
            value="Ident"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_optional'
       id='ident_16::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_16::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_16::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </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_16::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_16::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_16::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_16::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_16::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_16::html_form_foreign'
       id='ident_16::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_16::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_16::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_16::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_16::non_essential'
       id='ident_16::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_16::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_17' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_17'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_17" );'>edit</a> |
<a href="#" name='field_block_delete::ident_17' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_17'
                         value='description'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_17",
                             this.value
                         )'
                  />
                </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> not_for </td>
        <td>

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




    <select multiple
            name='ident_17::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_17::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_17::is'
                value="varchar"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_17::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_17::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_17::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_17::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_17::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_17::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_17::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_17::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_17::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_17::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::label'
            value="Description"
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_optional'
       id='ident_17::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_17::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_17::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </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_17::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_17::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_17::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_17::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_17::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_17::html_form_foreign'
       id='ident_17::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_17::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_17::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_17::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_17::non_essential'
       id='ident_17::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_17::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_18' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_18'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_18" );'>edit</a> |
<a href="#" name='field_block_delete::ident_18' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_18'
                         value='created'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_18",
                             this.value
                         )'
                  />
                </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> not_for </td>
        <td>

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




    <select multiple
            name='ident_18::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_18::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_18::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_18::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_18::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_18::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_18::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_18::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_18::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_18::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_18::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_18::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_optional'
       id='ident_18::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_18::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_18::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </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_18::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_18::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_18::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_18::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_18::html_form_foreign'
       id='ident_18::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_18::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_18::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_18::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_18::non_essential'
       id='ident_18::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_18::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_19' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_19'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_19" );'>edit</a> |
<a href="#" name='field_block_delete::ident_19' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_19'
                         value='modified'
                         onblur='javascript:update_tree(
                             "name",
                             "field::ident_19",
                             this.value
                         )'
                  />
                </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> not_for </td>
        <td>

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




    <select multiple
            name='ident_19::not_for'            class='urgency_0'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_19::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_19::is'
                value="datetime"
                class='urgency_10'
                onblur='javascript:update_multivalue(
                    "field_statement_text",
                    "ident_19::is",
                    this,
                    "full_edit"
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_19::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_19::is",
                this,
                "full_edit"
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::is'
            value=''
            class='urgency_10'
            onblur='javascript:update_multivalue(
                "field_statement_text",
                "ident_19::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_19::refers_to_input_table'>
        <tr><th> Table </th>
            <th> Column
                 
                    [optional]
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_19::refers_to_key'
                    class='urgency_1'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_19::refers_to",
                        0,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::refers_to_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_19::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_19::on_delete'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::on_update'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::label'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_type'            class='urgency_5'
            onchange='javascript:
              myvalue = walk_selections( this );
              update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_optional'
       id='ident_19::html_form_optional'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_19::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_19::html_form_constraint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_default_value'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_cols'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_rows'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_display_size'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::html_form_display_size",
                this.value
            )'
        />
    


        </td>
        <td>
            width attribute if type is text
        </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_19::html_form_options_input_table'>
        <tr><th> Label </th>
            <th> Database Value
                 
            </th></tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_19::html_form_options_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_19::html_form_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::html_form_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "field_statement_pair",
                        "ident_19::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_19::html_form_foreign'
       id='ident_19::html_form_foreign'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_19::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_19::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::html_form_raw_html'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_19::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_19::non_essential'
       id='ident_19::non_essential'
       class='urgency_0'       onchange='javascript:update_tree(
           "field_statement_bool",
           "ident_19::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_14" );'>
                          edit</a> )
    </legend>

    
<div id='hideable_data_ident_14'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_14'>












  
  
  <tr>
    <th id='data_for_field::ident_15'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_14::ident_15::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_16'> ident </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_14::ident_16::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_17'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_14::ident_17::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_18'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_14::ident_18::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_19'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_14::ident_19::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


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

      

      <br style='clear: both' />

  </div>

















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

              )
          </legend>
           <table>
              <tr>
                  <td> Name: </td>
                  <td>
                      <input type='text'
                             id='app_block::ident_20'
                             value='Addresses'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_20",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_20'
                          onchange='javascript:type_change(
                              "ident_20",
                              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_20'
  
    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_20::no_gen'
       id='ident_20::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_20::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_20::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::rel_location'
            value="addresses"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::controls_table'
            value="addresses"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::gen_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_20::gen_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::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_20::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::stub_uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_20::stub_uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::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_20::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_20::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_20::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_20::text_description'
            value="addresses"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::page_link_label'
            value="Addresses"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_20::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_20::skip_test'
       id='ident_20::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_20::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_20' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_20'>
              <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_20_create'
                      onclick='javascript:create_method( "ident_20" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

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

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_21'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_21",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_20::ident_21'
                        onchange='javascript:type_change(
                            "ident_21",
                            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_21'
  
    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_21::no_gen'
       id='ident_21::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_21::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_21::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_21::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::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_21::rows'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_21::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_21::paged_conf'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_21::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_21::cols'
                value="ident"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_21::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_21::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_21::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_21::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_21::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::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_21::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_21::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_21::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_21::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_21::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_21::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::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_21::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_21::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_21::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_21::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_21::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_21::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_21::title'
            value="Addresses"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_21::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_21::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_21::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_21::limit_by'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_21::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_22'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_22" );'>edit</a> |  
<a href="#" name='app_body_delete::ident_22' onclick='javascript:delete_block( this )'>delete</a>
       

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_22'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_22",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_20::ident_22'
                        onchange='javascript:type_change(
                            "ident_22",
                            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_22'
  
    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_22::no_gen'
       id='ident_22::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "method_statement_bool",
           "ident_22::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_22::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_22::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::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_22::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_22::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_22::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_22::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_22::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_22::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_22::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_22::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::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_22::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_22::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_22::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_22::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_22::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_22::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_22::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_22::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_22::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_22::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_22::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_22::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_22::form_name'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_22::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>














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 Sample {
    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 street_address {
        field id {
            is int4, primary_key, auto;
        }
        field ident {
            is varchar;
            label Ident;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%ident`;
    }
    controller StreetAddress is AutoCRUD {
        controls_table street_address;
        rel_location street_address;
        text_description `street address`;
        page_link_label `Street Address`;
        method do_main is main_listing {
            cols ident, description;
            header_options Add;
            row_options Edit, Delete;
            title `Street Address`;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
    sequence addresses_seq {}
    table addresses {
        field id {
            is int4, primary_key, auto;
        }
        field ident {
            is varchar;
            label Ident;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        sequence addresses_seq;
        foreign_display `%ident`;
    }
    controller Addresses is AutoCRUD {
        controls_table addresses;
        rel_location addresses;
        text_description addresses;
        page_link_label Addresses;
        method do_main is main_listing {
            cols ident, description;
            header_options Add;
            row_options Edit, Delete;
            title Addresses;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
}
