


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

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

      <br style='clear: both' />

  </div>

















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

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

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




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


        </td>
        <td>
            Tell Model and/or SQL to skip this 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_11::foreign_display'
            value="%ident"
            class='urgency_3'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_11::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_11::model_base_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_11::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_11::sequence'
            value="addresses_seq"
            class='urgency_1'
            onblur='javascript:update_tree(
                "table_statement_text",
                "ident_11::sequence",
                this.value
            )'
        />
    


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

  <br />

<div id='quick_table::ident_11' 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_11'
                   
                   onchange='javascript:quick_all(
                        "ident_11",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_13'>
      <td>
        <input type='text' id='field_name_quick::ident_13'
               value='ident'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_13",
                    this.value
               )'
        />
      </td>
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_13'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_13'
               value='Ident'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_13'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_13::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_13'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_13'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_13::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_14'>
      <td>
        <input type='text' id='field_name_quick::ident_14'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_14",
                    this.value
               )'
        />
      </td>
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_14'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_14'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_14'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_14::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_15'>
      <td>
        <input type='text' id='field_name_quick::ident_15'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_15",
                    this.value
               )'
        />
      </td>
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_15'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_15'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_15'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_15::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_15'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_15'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_15::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_16'>
      <td>
        <input type='text' id='field_name_quick::ident_16'
               value='modified'
               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='datetime'
               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=''
               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>
    
  </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_11' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_11_create'
                      onclick='javascript:create_field( "ident_11" )'
              > 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_11_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_11::ident_12'
                id='field_edit_option::ident_12'>
            id
        </option>
    
  
    
        <option value='ident_11::ident_13'
                id='field_edit_option::ident_13'>
            ident
        </option>
    
  
    
        <option value='ident_11::ident_14'
                id='field_edit_option::ident_14'>
            description
        </option>
    
  
    
        <option value='ident_11::ident_15'
                id='field_edit_option::ident_15'>
            created
        </option>
    
  
    
        <option value='ident_11::ident_16'
                id='field_edit_option::ident_16'>
            modified
        </option>
    
  
      </select>
      <div id='fields_for_ident_11' >
  
    
      <div id='field_edit_ident_12' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_12'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_12" );'>edit</a> |
<a href="#" name='field_block_delete::ident_12' onclick='javascript:delete_block( this )'>delete</a>
       

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

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




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


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

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




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


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

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




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


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

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




    
        <input type='text'
            id='ident_12::refers_to'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_12::refers_to",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this foreign key points to
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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

         <br style='clear: both' />

    </div>



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

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

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




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


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

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




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


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

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




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


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

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




    
        <input type='text'
            id='ident_13::refers_to'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_13::refers_to",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this foreign key points to
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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

         <br style='clear: both' />

    </div>



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

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

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




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


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

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




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


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

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




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


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

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




    
        <input type='text'
            id='ident_14::refers_to'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::refers_to",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this foreign key points to
        </td>
    </tr>
  
    
    <tr>
        <td> label </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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

         <br style='clear: both' />

    </div>



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

            )
         </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                  <input type='text'
                         id='field_name::ident_15'
                         value='created'
                         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> 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>
  
    
    <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="datetime"
                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 -->




    
        <input type='text'
            id='ident_15::refers_to'
            value=""
            class='urgency_1'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_15::refers_to",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this foreign key points to
        </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>
    
    </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_'
                    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> 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>
  
  </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='modified'
                         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> 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>
  
    
    <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="datetime"
                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 -->




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


        </td>
        <td>
            Table this foreign key points to
        </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=""
            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'        >
        text
        </option>
    
        <option value='textarea'        >
        textarea
        </option>
    
        <option value='select'        >
        select
        </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_'
                    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> 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>
  
  </table>

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

         <br style='clear: both' />

    </div>



      </div>
    
    <!--<br />-->
  
      </div>
  </fieldset>


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

      

      <br style='clear: both' />

  </div>

















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

            )
        </legend>
         <table>
            <tr>
                <td> Name: </td>
                <td>
                    <input type='text'
                           id='app_block::ident_17'
                           value='Addresses'
                           onblur='javascript:update_tree(
                               "name",
                               "controller::ident_17",
                               this.value
                           )'
                    />
                </td>
            </tr>
            <tr><td> Controller Type: </td>
                <td>
                    <select
                        id='Controller::type_select::ident_17'
                        onchange='javascript:type_change(
                            "ident_17",
                            this.value
                        )'
                    >
                        <option value='stub'
  
                        > stub     </option>

                        <option value='AutoCRUD'
  selected='selected'
                        > AutoCRUD </option>

                        <option value='CRUD'
  
                        > CRUD     </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_17'
  
    style='display: none'
  
>
  
                    

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




<input type='checkbox'
       value='ident_17::no_gen'
       id='ident_17::no_gen'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_17::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_17::location'
            value=""
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::location",
                this.value
            )'
        />
    


        </td>
        <td>
            Absolute Location of this controller [You must choose 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_17::rel_location'
            value="addresses"
            class='urgency_5'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::rel_location",
                this.value
            )'
        />
    


        </td>
        <td>
            Location of this controller relative to app location[You must choose 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_17::controls_table'
            value="addresses"
            class='urgency_10'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::controls_table",
                this.value
            )'
        />
    


        </td>
        <td>
            Table this controller manages [REQUIRED]
        </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_17::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_17::uses",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_17::uses'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "controller_statement_text",
                "ident_17::uses",
                this
            )'
        />
        
        
    


        </td>
        <td>
            List of modules used by this controller
        </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_17::text_description'
            value="addresses"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::text_description",
                this.value
            )'
        />
    


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </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_17::autocrud_helper'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::autocrud_helper",
                this.value
            )'
        />
    


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </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_17::page_link_label'
            value="Addresses"
            class='urgency_1'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_17::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </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_17' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_17'>
              <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>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_17_create'
                      onclick='javascript:create_method( "ident_17" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

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

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_18'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_18",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_17::ident_18'
                        onchange='javascript:type_change(
                            "ident_18",
                            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>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_18'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Applies to  </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> no_gen </td>
        <td>

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




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


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

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




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


        </td>
        <td>
            All
        </td>
        <td>
            Extra args for any method
        </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_18::cols'
                value="ident"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_18::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_18::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_18::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_18::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            main_listing
        </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_18::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            main_listing
        </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_18::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_18::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_18::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            main_listing
        </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_18::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_18::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_18::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_18::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            main_listing
        </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_18::title'
            value="Addresses"
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_18::title",
                this.value
            )'
        />
    


        </td>
        <td>
            main_listing
        </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_18::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_18::html_template",
                this.value
            )'
        />
    


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

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




    
        
        
        <input type='text'
            name='ident_18::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            forms
        </td>
        <td>
            Fields to exclude from a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    <tr>
        <td> fields </td>
        <td>

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




    
        
        
        <input type='text'
            name='ident_18::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_18::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_18::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            forms
        </td>
        <td>
            Fields to include on a form [either all_fields_but or fields is REQUIRED]
        </td>
    </tr>
  
    
    <tr>
        <td> extra_keys </td>
        <td>

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




      <table id='ident_18::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_18::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_18::extra_keys_value'
                    class='urgency_'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_18::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            forms
        </td>
        <td>
            Extra keys to put in the form method hash
        </td>
    </tr>
  
    
    <tr>
        <td> form_name </td>
        <td>

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




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


        </td>
        <td>
            forms
        </td>
        <td>
            Form name [used with date selections]
        </td>
    </tr>
  
  </table>

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

        <br style='clear: both' />

    </div>



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

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_19'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_19",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_17::ident_19'
                        onchange='javascript:type_change(
                            "ident_19",
                            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>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_19'
  
    style='display: none'
  
>
  
                    
  <table class='bordered'>
    <tr>
        <th> Keyword     </th>
        <th> Value(s)    </th>
        <th> Applies to  </th>
        <th> Description </th>
    </tr>
  
    
    <tr>
        <td> no_gen </td>
        <td>

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




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


        </td>
        <td>
            All
        </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_19::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::extra_args",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::extra_args'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::extra_args",
                this
            )'
        />
        
        
    


        </td>
        <td>
            All
        </td>
        <td>
            Extra args for any method
        </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_19::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            main_listing
        </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_19::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::col_labels",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::col_labels'
            value=''
            class='urgency_0'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::col_labels",
                this
            )'
        />
        
        
    


        </td>
        <td>
            main_listing
        </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_19::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_19::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::header_options_value'
                    class='urgency_'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            main_listing
        </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_19::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_19::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::row_options_value'
                    class='urgency_'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            main_listing
        </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_19::title'
            value=""
            class='urgency_3'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_19::title",
                this.value
            )'
        />
    


        </td>
        <td>
            main_listing
        </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_19::html_template'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_19::html_template",
                this.value
            )'
        />
    


        </td>
        <td>
            main_listing
        </td>
        <td>
            Template to use for main_listing [defaults to results.tt]
        </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_19::all_fields_but'
                value="id"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_19::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_19::all_fields_but'
                value="created"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_19::all_fields_but",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_19::all_fields_but'
                value="modified"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_19::all_fields_but",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_19::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::all_fields_but",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::all_fields_but'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::all_fields_but",
                this
            )'
        />
        
        
    


        </td>
        <td>
            forms
        </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_19::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::fields",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_19::fields'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_19::fields",
                this
            )'
        />
        
        
    


        </td>
        <td>
            forms
        </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_19::extra_keys_input_table'>
        <tr><th> key </th>
            <th> value
                 
            </th></tr>
    
      
      
      
        <tr><td>
                <input
                    type='text'
                    name='ident_19::extra_keys_key'
                    value="legend"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::extra_keys_value'
                    value="$self->path_info =~ /edit/i ? 'Edit' : 'Add'"
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
    
        <tr><td>
                <input
                    type='text'
                    name='ident_19::extra_keys_key'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_19::extra_keys_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_19::extra_keys",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            forms
        </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_19::form_name'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_19::form_name",
                this.value
            )'
        />
    


        </td>
        <td>
            forms
        </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;
    }
    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'`;
        }
    }
}
