


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

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

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

  

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




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


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




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


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




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


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




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


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




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


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




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


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




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


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




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


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




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


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




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


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




<input type='checkbox'
       value='ident_4::skip_test'
       id='ident_4::skip_test'
       class='urgency_0'       onchange='javascript:update_tree(
           "controller_statement_bool",
           "ident_4::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_4' />
          </td>
          <td> Method Type: </td>
          <td>
            <select id='new_method_type_ident_4'>
              <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>
            </select>
          </td>
          <td colspan='2'>
              <button type='button'
                      name='new_method_ident_4_create'
                      onclick='javascript:create_method( "ident_4" )'
              > Create </button>
          </td>
          </tr>
    </table>
  </div>

  <br />

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

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_5'
                         value='do_main'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_5",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_4::ident_5'
                        onchange='javascript:type_change(
                            "ident_5",
                            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>
                    </select>
                </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> no_gen </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




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


        </td>
        <td>
            Labels for fields on main_listing [optional defaults to fields label]
        </td>
    </tr>
  
    
    
    <tr>
        <td> header_options </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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

        <br style='clear: both' />

    </div>



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

            )
         </legend> 
         <table>
            <tr>
                <td>Name: </td>
                <td>
                  <input type='text'
                         id='method_name::ident_6'
                         value='form'
                         onblur='javascript:update_tree(
                             "name",
                             "method::ident_6",
                             this.value
                         )'
                  />
                </td>
            </tr>
            <tr>
                <td> Type: </td>
                <td>
                    <select
                        id='method_type_ident_4::ident_6'
                        onchange='javascript:type_change(
                            "ident_6",
                            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>
                    </select>
                </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> no_gen </td>
        <td>

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




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


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

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




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


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

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




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


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

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




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


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

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




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


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

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




    
        <input type='text'
            id='ident_6::form_name'
            value=""
            class='urgency_0'
            onblur='javascript:update_tree(
                "method_statement_text",
                "ident_6::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 {
        }
    }
    controller Address is AutoCRUD {
        method do_main is main_listing {
            cols ident, description;
            header_options Add;
            row_options Edit, Delete;
            title Address;
        }
        method form is AutoCRUD_form {
            all_fields_but id, created, modified;
            extra_keys
                legend => `$self->path_info =~ /edit/i ? 'Edit' : 'Add'`;
        }
    }
}
