     {{> @header}}
     {{> @searchForm}}
     {{> @domainSearchResultView}}
-    
     """
     
   viewAppended: JView::viewAppended
     
 
 class DomainForwardForm extends KDView
-  constructor:(options = {}, data)->
+  
+  constructor:(options={}, data)->  
     super options, data
     
     @header = new KDHeaderView 

      title : "Forward My Domain"
      
    @forwardForm = new KDFormViewWithFields
      callback          : =>
        {modalTabs,parentData} = @getOptions()
        parentData["selectedDomain"] = @forwardForm.inputs.domainAddress.getValue()
        parentData["newDomain"] = no
        modalTabs.showPaneByIndex 2
        
      buttons           :
        Forward         :
          type          : "submit"

    
    super options, data
    
    @on "DomainRegistered", (orderInfo) =>
      @modalTabs.forms["Done"].addSubView (
        new DomainRegistrationCompleteView {orderInfo : orderInfo}
        )
        
      @modalTabs.showPaneByIndex "2"
      
      
    @on "DomainForwarded", (orderInfo) =>
      @modalTabs.forms["Done"].addSubView (
        new DomainForwardingCompleteView {orderInfo : orderInfo}
        )
        
      @modalTabs.showPaneByIndex "2"
      
      
  loadSearchDomainPane:->
    @modalTabs.showPaneByIndex 1
    @setData {}

    actionState = @modalTabs.forms["Domain Address"].inputs.DomainOption.getValue()
    
    if actionState is "new"
      @modalTabs.forms["Find Your Domain"].addSubView (
        new DomainSearchForm { 
          modalTabs  : @modalTabs
          parentData : @getData()
          }
        )

    else
      @modalTabs.forms["Find Your Domain"].addSubView (
        new DomainForwardForm {
          modalTabs  : @modalTabs
          parentData : @getData()
          }
        )

    
class DomainSearchForm extends KDScrollView
