%div{:id => "formbuilder-container"}
  %div{:id => "formbuilder-header"}

    = button_to "Publish", {:action => "publish", :id => @form.id}

  %div{:id => "formbuilder-body"}

    %b Investigator Form Elements
    %br
    %small{:style => "#float: right"}
      = link_to_remote("Add a tab", :url => {:controller => "view_elements", :action => "new", :form_element_id => @form.investigator_view_elements_container.id}, :method => :get)

    %div{:id => "builder-mods"}

    %ul{:id => "root-element-list"}
      = render :partial => 'forms/elements'

    %b Core Form Elements
    %br
    %small{:style => "#float: right"}
      = link_to_remote("Add a core tab configuration", :url => {:controller => "core_view_elements", :action => "new", :form_element_id => @form.core_view_elements_container.id}, :method => :get)

    %div{:id => "core-builder-mods"}

    %ul{:id => "core-element-list"}
      = render :partial => 'forms/core_elements'


%div{:id => "formbuilder-container"}
  %div{:id => "formbuilder-header"}

    = button_to "Publish", {:action => "publish", :id => @form.id}

  %div{:id => "formbuilder-body"}

    %h2
      = @form.name

    %b Investigator Form Elements
    %br
    %small{:style => "#float: right"}
      = link_to_remote("Add a tab", :url => {:controller => "view_elements", :action => "new", :form_element_id => @form.investigator_view_elements_container.id}, :method => :get)

    %div{:id => "builder-mods"}

    %ul{:id => "root-element-list"}
      = render :partial => 'forms/elements'

    %b Core Form Elements
    %br
    %small{:style => "#float: right"}
      = link_to_remote("Add a core tab configuration", :url => {:controller => "core_view_elements", :action => "new", :form_element_id => @form.core_view_elements_container.id}, :method => :get)

    %div{:id => "core-builder-mods"}

    %ul{:id => "core-element-list"}
      = render :partial => 'forms/core_elements'


Fix for unds522 (Form Name Not Shown In Form Builder).
Fix for unds522 (Form Name Not Shown In Form Builder).

git-svn-id: 105a8f2fe5eb3dca76b21e204c69f6587dfa9961@970 b21a84b9-e453-0410-92a3-c4f515f7ae45
