


  <div class='app_block_table'
       id='div_ident_4'>
      
      
        
        <fieldset>
        <legend>
            Table 
            ( <a href='javascript:show_or_hide( "hideable_ident_4" );'>
                edit or hide</a> |  
<a href="#" name='app_body_delete::ident_4' onclick='javascript:delete_block( this )'>delete</a>
       

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

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

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


        </td>
        <td>
            Tell Model and/or SQL to skip this table
        </td>
    </tr>
  
    
    
    <tr>
        <td> foreign_display </td>
        <td>
            
            

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


        </td>
        <td>
            Pattern string for other tables: %last, %first
        </td>
    </tr>
  
    
    
    <tr>
        <td> refered_to_by </td>
        <td>
            
            

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


        </td>
        <td>
            Table has many rows from this other table
        </td>
    </tr>
  
    
    
    <tr>
        <td> model_base_class </td>
        <td>
            
            

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


        </td>
        <td>
            Models inherit from this [has good default]
        </td>
    </tr>
  
    
    
    <tr>
        <td> sequence </td>
        <td>
            
            

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


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

  <br />

<div id='quick_table::ident_4' 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>
            Searchable
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
            <input type='checkbox'
                   name='quick_all_searchable_ident_4'
                   
                   onchange='javascript:quick_all(
                        "ident_4",
                        "searchable",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_4'
                   
                   onchange='javascript:quick_all(
                        "ident_4",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_6'>
      <td>
        <input type='text' id='field_name_quick::ident_6'
               value='ident'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_6",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_6'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_6'
               value='Ident'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_6'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_6::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_6'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_6::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_6'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_6'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_6::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_7'>
      <td>
        <input type='text' id='field_name_quick::ident_7'
               value='description'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_7",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_7'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_7'
               value='Description'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_7'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_7::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_7'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_7::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_7'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_7'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_7::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_8'>
      <td>
        <input type='text' id='field_name_quick::ident_8'
               value='created'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_8",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_8'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_8'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_8::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_8'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_8::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_8'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_8::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_9'>
      <td>
        <input type='text' id='field_name_quick::ident_9'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_9",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_9'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_9'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_9'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_9::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_9'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_9::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_9'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_9'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_9::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </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_4' />
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_field_ident_4_create'
                      onclick='javascript:create_field( "ident_4" )'
              > 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_4_fields'
                onchange='javascript:expose_field( this )' >
    </legend>
            <option value='0'> - Select - </option>
  
    
        <option value='ident_4::ident_5'
                id='field_edit_option::ident_5'>
            id
        </option>
    
  
    
        <option value='ident_4::ident_6'
                id='field_edit_option::ident_6'>
            ident
        </option>
    
  
    
        <option value='ident_4::ident_7'
                id='field_edit_option::ident_7'>
            description
        </option>
    
  
    
        <option value='ident_4::ident_8'
                id='field_edit_option::ident_8'>
            created
        </option>
    
  
    
        <option value='ident_4::ident_9'
                id='field_edit_option::ident_9'>
            modified
        </option>
    
  
      </select>
      <div id='fields_for_ident_4' >
  
    
      <div id='field_edit_ident_5' style='display: none'>
      
    <div class='app_block_element'
         id='div_ident_5'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_5" );'>edit or hide</a> |
<a href="#" name='field_block_delete::ident_5' onclick='javascript:delete_block( this )'>delete</a>
       

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Include this field in searches?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            class attribute for the form field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Display field is a foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_onchange </td>
        <td>

            
            

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


        </td>
        <td>
            Name of Javascript function to call on change
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>



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

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Include this field in searches?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            class attribute for the form field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Display field is a foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_onchange </td>
        <td>

            
            

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


        </td>
        <td>
            Name of Javascript function to call on change
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>



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

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Include this field in searches?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            class attribute for the form field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Display field is a foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_onchange </td>
        <td>

            
            

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


        </td>
        <td>
            Name of Javascript function to call on change
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>



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

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Include this field in searches?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            class attribute for the form field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Display field is a foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_onchange </td>
        <td>

            
            

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


        </td>
        <td>
            Name of Javascript function to call on change
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>



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

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Include this field in searches?
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_type </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            class attribute for the form field
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_hint </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Display field is a foreign key
        </td>
    </tr>
  
    
    <tr>
        <td> html_form_onchange </td>
        <td>

            
            

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


        </td>
        <td>
            Name of Javascript function to call on change
        </td>
    </tr>
  
    
    <tr>
        <td> date_select_text </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>



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

<br />

  <fieldset>
    <legend>
      Data Statements ( <a href='javascript:show_or_hide( "hideable_data_ident_4" );'>
                          edit or hide</a> )
    </legend>

    
<div id='hideable_data_ident_4'
  
    style='display: none'
  
>
  
        
<table class='bordered' id='data_table::ident_4'>












  
  
  <tr>
    <th id='data_for_field::ident_5'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_4::ident_5::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_6'> ident </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_4::ident_6::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_7'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_4::ident_7::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_8'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_4::ident_8::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_9'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_4::ident_9::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table>

    
</div>

  </fieldset>


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

      

      <br style='clear: both' />

  </div>

















  <div class='app_block_controller'
       id='div_ident_10'>
      
      
        
          
          <fieldset>
          <legend>
              Controller 
              ( <a href='javascript:show_or_hide( "hideable_ident_10" );'>
                  edit or hide</a> |  
<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='StreetAddress'
                             onblur='javascript:update_tree(
                                 "name",
                                 "controller::ident_10",
                                 this.value
                             )'
                      />
                  </td>
              </tr>
              <tr><td> Controller Type: </td>
                  <td>
                      <select
                          id='Controller::type_select::ident_10'
                          onchange='javascript:type_change(
                              "ident_10",
                              this.value
                          )'
                      >
                          <option value='stub'
    
                          > stub     </option>

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

                          <option value='CRUD'
    
                          > CRUD     </option>

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

  

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

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


        </td>
        <td>
            Skip this controller completely
        </td>
    </tr>
  
    
    
    <tr>
        <td> location </td>
        <td>
            
            

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


        </td>
        <td>
            Absolute Location of this controller [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> rel_location </td>
        <td>
            
            

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


        </td>
        <td>
            Location of this controller relative to app location [non-base controllers must have either a location or a rel_location.]
        </td>
    </tr>
  
    
    
    <tr>
        <td> controls_table </td>
        <td>
            
            

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


        </td>
        <td>
            Table this controller manages
        </td>
    </tr>
  
    
    
    <tr>
        <td> gen_uses </td>
        <td>
            
            

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


        </td>
        <td>
            List of modules used in gen module
        </td>
    </tr>
  
    
    
    <tr>
        <td> stub_uses </td>
        <td>
            
            

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


        </td>
        <td>
            List of modules used in stub module
        </td>
    </tr>
  
    
    
    <tr>
        <td> uses </td>
        <td>
            
            

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


        </td>
        <td>
            List of modules used by gen and stub modules
        </td>
    </tr>
  
    
    
    <tr>
        <td> text_description </td>
        <td>
            
            

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


        </td>
        <td>
            Required for Gantry's AutoCRUD
        </td>
    </tr>
  
    
    
    <tr>
        <td> page_link_label </td>
        <td>
            
            

    
        <input type='text'
            id='ident_10::page_link_label'
            value="Street Address"
            class='urgency_3'
            onblur='javascript:update_tree(
                "controller_statement_text",
                "ident_10::page_link_label",
                this.value
            )'
        />
    


        </td>
        <td>
            Link text in navigation bar [use only for navigable controllers]
        </td>
    </tr>
  
    
    
    <tr>
        <td> autocrud_helper </td>
        <td>
            
            

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


        </td>
        <td>
            Gantry::Plugins::AutoCRUDHelper for your ORM
        </td>
    </tr>
  
    
    
    <tr>
        <td> skip_test </td>
        <td>
            
            

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


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

 
  <br />

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

  <br />

  
      
    <div class='app_block_element'
         id='div_ident_11'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_11" );'>edit or hide</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='method_name::ident_11'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_11",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_10::ident_11'
                        onchange='javascript:type_change(
                            "ident_11",
                            this.value
                        )'
                    >
                      <option value='stub'
     >
                        stub
                      </option>
                      <option value='main_listing'
    selected='selected' >
                        main_listing
                      </option>
                      <option value='AutoCRUD_form'
     >
                        AutoCRUD_form
                      </option>
                      <option value='CRUD_form'
     >
                        CRUD_form
                      </option>
                      <option value='base_links'
     >
                        base_links
                      </option>
                      <option value='links'
     >
                        links
                      </option>
                      <option value='SOAP'
     >
                        SOAP
                      </option>
                    </select>
                </td>
            </tr>
            <tr>
                <td colspan='2'>
                  
<div id='hideable_ident_11'
  
    style='display: none'
  
>
  
                    

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

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            Exact text of SQL order by
        </td>
    </tr>
  
    
    
    <tr>
        <td> rows </td>
        <td>

            
            

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


        </td>
        <td>
            How many rows should appear per listing page?
        </td>
    </tr>
  
    
    
    <tr>
        <td> paged_conf </td>
        <td>

            
            

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


        </td>
        <td>
            Take rows per page from this (conf var) accessor
        </td>
    </tr>
  
    
    
    <tr>
        <td> cols </td>
        <td>

            
            

    
        
            <input type='text'
                name='ident_11::cols'
                value="ident"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_11::cols",
                    this
                )'
            />
            <br />
        
            <input type='text'
                name='ident_11::cols'
                value="description"
                class='urgency_5'
                onblur='javascript:update_multivalue(
                    "method_statement_text",
                    "ident_11::cols",
                    this
                )'
            />
            <br />
        
        
        <input type='text'
            name='ident_11::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_11::cols",
                this
            )'
        />
        <br />
        
        <input type='text'
            name='ident_11::cols'
            value=''
            class='urgency_5'
            onblur='javascript:update_multivalue(
                "method_statement_text",
                "ident_11::cols",
                this
            )'
        />
        
        
    


        </td>
        <td>
            Fields to include in main_listing
        </td>
    </tr>
  
    
    
    <tr>
        <td> col_labels </td>
        <td>

            
            

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


        </td>
        <td>
            Labels for fields on main_listing [optional default uses field labels]
        </td>
    </tr>
  
    
    
    <tr>
        <td> livesearch </td>
        <td>

            
            

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


        </td>
        <td>
            Places a search box on results page
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

            
            

      <table id='ident_11::header_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_11::header_options_key'
                    value="Add"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::header_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_11::header_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::header_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::header_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::header_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting the table [like Add]
        </td>
    </tr>
  
    
    
    <tr>
        <td> row_options </td>
        <td>

            
            

      <table id='ident_11::row_options_input_table'>
        <tr><th> Label </th>
            <th> Location
                 
                    [optional]
                 
            </th></tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_11::row_options_key'
                    value="Edit"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
      
      
      
        
      
        <tr><td>
                <input
                    type='text'
                    name='ident_11::row_options_key'
                    value="Delete"
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::row_options_value'
                    value=""
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
    
            <tr><td>
                <input
                    type='text'
                    name='ident_11::row_options_key'
                    class='urgency_5'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
            <td>
                <input
                    type='text'
                    name='ident_11::row_options_value'
                    class='urgency_0'
                    onblur='javascript:update_pairs(
                        "method_statement_pair",
                        "ident_11::row_options",
                        1,
                        this
                    )'
                />
            </td>
        </tr>
      
      </table>


        </td>
        <td>
            User actions affecting rows [like Edit]
        </td>
    </tr>
  
    
    
    <tr>
        <td> title </td>
        <td>

            
            

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


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

            
            

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


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

            
            

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


        </td>
        <td>
            If an arg is supplied, show only matching rows
        </td>
    </tr>
  
    
    
    
    
    
    
  </table>

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

        <br style='clear: both' />

    </div>



    <br />
  
      
    <div class='app_block_element'
         id='div_ident_12'>
        
         <fieldset>
         <legend>Method 
            ( <a href='javascript:show_or_hide( "hideable_ident_12" );'>edit or hide</a> |  
<a href="#" name='app_body_delete::ident_12' onclick='javascript:delete_block( this )'>delete</a>
       

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

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

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

        <br style='clear: both' />

    </div>



    <br />
  


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

      

      <br style='clear: both' />

  </div>














config {
    engine CGI;
    template_engine TT;
    Init Std {  }
    SQL SQLite {  }
    SQL Postgres {  }
    SQL MySQL {  }
    CGI Gantry { gen_root 1; with_server 1; flex_db 1; }
    Control Gantry { dbix 1; }
    Model GantryDBIxClass {  }
    SiteLook GantryDefault {  }
}
app Sample {
    config {
        dbconn `dbi:SQLite:dbname=app.db` => no_accessor;
        template_wrapper `genwrapper.tt` => no_accessor;
    }
    controller is base_controller {
        method do_main is base_links {
        }
        method site_links is links {
        }
    }
    table street_address {
        field id {
            is int4, primary_key, auto;
        }
        field ident {
            is varchar;
            label Ident;
            html_form_type text;
        }
        field description {
            is varchar;
            label Description;
            html_form_type text;
        }
        field created {
            is datetime;
        }
        field modified {
            is datetime;
        }
        foreign_display `%ident`;
    }
    controller StreetAddress is AutoCRUD {
        controls_table street_address;
        rel_location street_address;
        text_description `street address`;
        page_link_label `Street Address`;
        method do_main is main_listing {
            cols ident, description;
            header_options Add;
            row_options Edit, Delete;
            title `Street Address`;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
}
