<table class='bordered' id='data_table::ident_5'>














  
  
  <tr>
    <th id='data_for_field::ident_6'> id </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_6::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_7'> ident </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_7::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_8'> description </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_8::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_9'> created </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_9::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_10'> modified </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_10::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
  
  <tr>
    <th id='data_for_field::ident_14'> name </th>
    
    
        <td>
            <input type='text'
                   value=''
                   id='data_value::ident_5::ident_14::1'
                   onchange='javascript:change_data_statement( this )' />
        </td>
  </tr>
    
</table><!-- END DATA TABLE --><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_5'
                   
                   onchange='javascript:quick_all(
                        "ident_5",
                        "searchable",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
      
      
        <th>
            Optional
            <br />
            
            
                
                
                  
                  
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
                  
                  
                  
                   
                
            <input type='checkbox'
                   name='quick_all_html_form_optional_ident_5'
                   
                   onchange='javascript:quick_all(
                        "ident_5",
                        "html_form_optional",
                        this.checked
                   )'
            />
            
        </th>
      
      
      
        <th>
            Constraint
            <br />
            
            
        </th>
      
      
      
        <th>
            Default
            <br />
            
            
        </th>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    </tr >
    
      
      
      
      
    <tr id='quick_row::ident_7'>
      <td>
        <input type='text' id='field_name_quick::ident_7'
               value='ident'
               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='Ident'
               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='description'
               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='varchar'
               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='Description'
               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='created'
               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>
    
      
      
    <tr id='quick_row::ident_10'>
      <td>
        <input type='text' id='field_name_quick::ident_10'
               value='modified'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_10",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_10'
               value='datetime'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_10'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_10'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_10::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_10'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_10::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_10'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_10'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_10::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
      
      
    <tr id='quick_row::ident_14'>
      <td>
        <input type='text' id='field_name_quick::ident_14'
               value='name'
               onblur='javascript:update_tree(
                    "name",
                    "field::ident_14",
                    this.value
               )'
        />
      </td>
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_is_ident_14'
               value='varchar'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::is",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_label_ident_14'
               value='Name'
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::label",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_searchable_ident_14'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_14::searchable",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      <td style='text-align: center' >
          
        <input type='checkbox'
               id='quick_html_form_optional_ident_14'
               value=''
               
               onchange='javascript:update_tree(
                    "field_statement_bool",
                    "ident_14::html_form_optional",
                    this.checked,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_constraint_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_constraint",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      <td style='text-align: center' >
          
        <input type='text'
               id='quick_html_form_default_value_ident_14'
               value=''
               onblur='javascript:update_tree(
                    "field_statement_text",
                    "ident_14::html_form_default_value",
                    this.value,
                    "",
                    "quick_edit"
               )'
        />
          
      </td>
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
        
      
    </tr>
    
  </table>
  <br />
  <button type='button' > Apply Quick Edit </button>
  </fieldset><!-- END QUICK TABLE --><div class='app_block_element'
         id='div_ident_14'>
        
         <fieldset>
         <legend>Field
            ( <a href='javascript:show_or_hide( "hideable_ident_14" );'>edit or hide</a> |
<a href="#" name='field_block_delete::ident_14' onclick='javascript:delete_block( this )'>delete</a>
       

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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

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


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

            
            

    
        <input type='text'
            id='ident_14::html_form_class'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::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_14::html_form_hint'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::html_form_hint",
                this.value
            )'
        />
    


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

            
            

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


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

            
            

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


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

            
            

    
        <input type='text'
            id='ident_14::html_form_onchange'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::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_14::date_select_text'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "field_statement_text",
                "ident_14::date_select_text",
                this.value,
                "",
                "full_edit"
            )'
        />
    


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

            
            

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


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

            
            

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


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

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

         <br style='clear: both' />

    </div>config {
    engine MP20;
    template_engine TT;
    Init Std {  }
    Conf Gantry { conffile `docs/app.gantry.conf`; gen_root 1; instance sample; }
    HttpdConf Gantry { gantry_conf 1; }
    SQL SQLite {  }
    SQL Postgres {  }
    SQL MySQL {  }
    CGI Gantry { with_server 1; flex_db 1; gantry_conf 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;
        doc_rootp `/static` => no_accessor;
        show_dev_navigation 1 => no_accessor;
    }
    controller is base_controller {
        method do_main is base_links {
        }
        method site_links is links {
        }
    }
    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 ? q!Edit! : q!Add!`;
        }
    }
    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`;
        field name {
            is varchar;
            label Name;
            html_form_type text;
        }
    }
}
