From 6ba90a590acae31859f3fbdd1a99bcc5180b1e92 Mon Sep 17 00:00:00 2001 From: LucaLee <88934902+LucaLee207@users.noreply.github.com> Date: Sat, 17 Feb 2024 06:07:00 +0800 Subject: [PATCH] added gif and text on analysis page (#16) --- .../app/views/survey_responses/show.html.erb | 93 +++++++++++++++++-- 1 file changed, 87 insertions(+), 6 deletions(-) diff --git a/rails_root/app/views/survey_responses/show.html.erb b/rails_root/app/views/survey_responses/show.html.erb index 66da67f..e06ca65 100644 --- a/rails_root/app/views/survey_responses/show.html.erb +++ b/rails_root/app/views/survey_responses/show.html.erb @@ -1,10 +1,91 @@

<%= notice %>

-<%= render @survey_response %> + + + + +
+

Your leadership type is:

+<%= image_tag("https://upload.wikimedia.org/wikipedia/commons/7/70/Tetrahedron.gif", style: "width:400px;" ) %> +

This tetrahedron represents the alignment of the four factors based on your leadership behaviors to align the four factors.

+

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])%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Part 1: Leadership Behavior - Interpersonalresponse
1. Leads by example<%=@survey_response.leads_by_example%>
2. Ability to juggle<%=@survey_response.ability_to_juggle%>
3. Communicator<%=@survey_response.communicator%>
Part 2: Leadership Behavior - Interpersonalresponse
1. Lifelong learner<%=@survey_response.lifelong_learner%>
2. High expectations<%=@survey_response.high_expectations%>
3. Cooperative<%=@survey_response.cooperative%>
4. Empathetic<%=@survey_response.empathetic%>
5. People oriented<%=@survey_response.people_oriented%>
+ + + +
+ <%= link_to "Edit this survey response", edit_survey_response_path(@survey_response) %> | + <%= link_to "Back to survey responses", survey_responses_path %> + + <%= button_to "Destroy this survey response", @survey_response, method: :delete %> +
+
\ No newline at end of file