diff --git a/tutor/app/views/lecturers/show.html.erb b/tutor/app/views/lecturers/show.html.erb index 43458374..762e6590 100644 --- a/tutor/app/views/lecturers/show.html.erb +++ b/tutor/app/views/lecturers/show.html.erb @@ -1,25 +1,18 @@ - CoolSoft - Java tutor | <%= @lecturer.id%>'s Profile + CoolSoft - Java tutor | <%= @lecturer.id %>'s Profile -

<%= image_tag(@lecturer.profile_image_url.to_s) if @lecturer.profile_image? %> <%= @lecturer.name%>'s Profile

+

<%= image_tag(@lecturer.profile_image_url.to_s) if @lecturer.profile_image? %> <%= @lecturer.name %>'s Profile

-

Name: <%= @lecturer.name%>

-

Email: <%= @lecturer.email%>

-
-
-

@lecturer.getStat() "to be reviewed"

-
-
@@ -44,6 +37,13 @@ <% end %>
Name
+
+

Name: <%= @lecturer.name %>

+

Email: <%= @lecturer.email %>

+
+
+

@lecturer.getStat() "to be reviewed"

+
diff --git a/tutor/app/views/students/show.html.erb b/tutor/app/views/students/show.html.erb index 0742420e..09faba6b 100644 --- a/tutor/app/views/students/show.html.erb +++ b/tutor/app/views/students/show.html.erb @@ -1,25 +1,18 @@ - CoolSoft - Java tutor | <%= @student.id%>'s Profile + CoolSoft - Java tutor | <%= @student.id %>'s Profile -

<%= image_tag(@student.profile_image_url.to_s) if @student.profile_image? %> <%= @student.name%>'s Profile

+

<%= image_tag(@student.profile_image_url.to_s) if @student.profile_image? %> <%= @student.name %>'s Profile

-

Name: <%= @student.name%>

-

Email: <%= @student.email%>

-
-
-

@student.getStat() "to be reviewed"

-
-
@@ -44,6 +37,13 @@ <% end %>
Name
+
+

Name: <%= @student.name %>

+

Email: <%= @student.email %>

+
+
+

@student.getStat() "to be reviewed"

+
diff --git a/tutor/app/views/teaching_assistants/show.html.erb b/tutor/app/views/teaching_assistants/show.html.erb index 91316e1c..61289657 100644 --- a/tutor/app/views/teaching_assistants/show.html.erb +++ b/tutor/app/views/teaching_assistants/show.html.erb @@ -1,25 +1,18 @@ - CoolSoft - Java tutor | <%= @teaching_assistant.id%>'s Profile + CoolSoft - Java tutor | <%= @teaching_assistant.id %>'s Profile -

<%= image_tag(@teaching_assistant.profile_image_url.to_s) if @teaching_assistant.profile_image? %> <%= @teaching_assistant.name%>'s Profile

+

<%= image_tag(@teaching_assistant.profile_image_url.to_s) if @teaching_assistant.profile_image? %> <%= @teaching_assistant.name %>'s Profile

-

Name: <%= @teaching_assistant.name%>

-

Email: <%= @teaching_assistant.email%>

-
-
-

@teaching_assistant.getStat() "to be reviewed"

-
-
@@ -44,6 +37,13 @@ <% end %>
Name
+
+

Name: <%= @teaching_assistant.name %>

+

Email: <%= @teaching_assistant.email %>

+
+
+

@teaching_assistant.getStat() "to be reviewed"

+