<h1><%= @questionnaire.display_type %>: <%= @questionnaire.name %></h1>
<BR/>
<B>Created by:</B> <%= link_to @questionnaire.instructor_id,"mailto:"+@questionnaire.instructor_id.to_s %><BR/>
<B>Created at:</B> <%= @questionnaire.created_at %><BR/>
<B>Last modified at:</B> <%= @questionnaire.updated_at %>
<BR/><BR/>

<TABLE>
  <TR>
    <TH align="left" width="60%"> Question </TH>
    <TH align="left">&nbsp Type &nbsp</TH>
    <TH align="left">&nbsp Weight &nbsp</TH>
    <TH align="left">&nbsp Score Range &nbsp</TH>
  </TR>
  <%questions=@questionnaire.questions.sort { |a,b| a.seq <=> b.seq }%>
  <%questions.each do |question| %>

    <%if question.is_a? Question%>
      <%=question.view_question_text.html_safe%>
    <%end%>

  <% end %>
</TABLE>

<BR/>
<B>Instructions:</B> <%= link_to @questionnaire.instruction_loc, @questionnaire.instruction_loc %>

    <BR/>
    <%= link_to 'Edit', :action => 'edit', :id => @questionnaire %> |
    <%= link_to "Back", :controller => 'tree_display', :action => 'list' %>

<h1><%= @questionnaire.display_type %>: <%= @questionnaire.name %></h1>
<BR/>
<B>Created by:</B> <%= link_to @questionnaire.instructor_id,"mailto:"+@questionnaire.instructor_id.to_s %><BR/>
<B>Created at:</B> <%= @questionnaire.created_at %><BR/>
<B>Last modified at:</B> <%= @questionnaire.updated_at %>
<BR/><BR/>

<TABLE>
  <TR>
    <TH align="left" width="60%"> Question </TH>
    <TH align="left">&nbsp Type &nbsp</TH>
    <TH align="left">&nbsp Weight &nbsp</TH>
    <TH align="left">&nbsp Score Range &nbsp</TH>
  </TR>
  <%questions=@questionnaire.questions.sort { |a,b| a.seq <=> b.seq }%>
  <%questions.each do |question| %>

    <%if question.is_a? Question%>
      <%=question.view_question_text.html_safe%>
    <%end%>

  <% end %>
</TABLE>

<BR/>

    <BR/>
    <%= link_to 'Edit', :action => 'edit', :id => @questionnaire %> |
    <%= link_to "Back", :controller => 'tree_display', :action => 'list' %>

Remove the link to questionnaire instruction.
Remove the link to questionnaire instruction.
