diff --git a/rails_root/app/views/survey_responses/show.html.erb b/rails_root/app/views/survey_responses/show.html.erb index aeb180d..9449760 100644 --- a/rails_root/app/views/survey_responses/show.html.erb +++ b/rails_root/app/views/survey_responses/show.html.erb @@ -1,14 +1,23 @@

<%= notice %>

+<% title = ["Part 1. Leadership Behavior - Management", "Part 1. Leadership Behavior - Interpersonal", "Part 2. External Forces", "Part 3. Organizational Structure", "Part 4. Values, Attitudes, and Beliefs"]%>
@@ -35,33 +45,52 @@ The purpose of this qualitative study was to apply the Synergistic Leadership Theory (SLT) to the leadership experiences of five female superintendents leading successful school districts. The SLT is an interactive theory, which includes female experiences, but it applies to men and women. It provides a framework for leaders to align four factors that impact successful leadership: (a) attitudes, values, and beliefs; (b) leadership behaviors; (c) organizational structure; and (d) external forces. Four research questions guided my study: (a) What are the leadership behaviors of the superintendents? (b) Is the organizational structure of each district aligned with the superintendent’s leadership behaviors? (c) How do the leadership behaviors of the superintendent impact the relations between the district and the external forces? (d) Are the attitudes, values, and beliefs of the superintendent aligned to the attitudes, values, and beliefs of the school board member and the administrative team member

-

Your Response

+ <% @survey_response = SurveyResponse.find(params[:id])%> - - - - - - - - - <% @survey_response.answers.map do |answer| %> - - - - - <% end %> - + +
Part 1: Leadership Behavior - InterpersonalResponse
-
- <%= answer.question.text %> - - <%= answer.question.explanation %> -
-
<%= answer.choice %>
+ + + + <% 5.times do |i|%> + + + + <%end%>

Your Response

+
+ <%= title[i]%> + + + + + + + + <% @survey_response.answers.map do |answer| %> + <% if answer.question.section == i%> + + + + + <%end%> + <% end %> + +
<%= title[i]%>Response
+
+ <%= answer.question.text %> + + <%= answer.question.explanation %> +
+
<%= answer.choice %>
+
+
+ +
+
<%= link_to "Edit this survey response", edit_survey_response_path(@survey_response) %> | <%= link_to "Back to survey responses", survey_responses_path %>