diff --git a/app/controllers/plans_controller.rb b/app/controllers/plans_controller.rb
index 9f5d37f..41abae4 100644
--- a/app/controllers/plans_controller.rb
+++ b/app/controllers/plans_controller.rb
@@ -155,7 +155,9 @@
authorize @plan
# If there was no phase specified use the template's 1st phase
@phase = (params[:phase].nil? ? @plan.template.phases.first : Phase.find(params[:phase]))
-
+ @show_phase_tab = params[:phase]
+ @readonly = !@plan.editable_by?(current_user.id)
+
# Get all Guidance Groups applicable for the plan and group them by org
@all_guidance_groups = @plan.get_guidance_group_options
@all_ggs_grouped_by_org = @all_guidance_groups.sort.group_by(&:org)
diff --git a/app/views/phases/_answer_form.html.erb b/app/views/phases/_answer_form.html.erb
index c95732b..8c151f3 100644
--- a/app/views/phases/_answer_form.html.erb
+++ b/app/views/phases/_answer_form.html.erb
@@ -5,7 +5,7 @@
**Copyright: Digital Curation Centre and California Digital Library
-->
-
+
<%
answers = question.plan_answers(plan.id)
if answers.present?
@@ -29,61 +29,57 @@
\ No newline at end of file
diff --git a/app/views/plans/_available_templates.html.erb b/app/views/plans/_available_templates.html.erb
index 5d9f710..d826258 100644
--- a/app/views/plans/_available_templates.html.erb
+++ b/app/views/plans/_available_templates.html.erb
@@ -1,6 +1,6 @@
-
-<% end %>
\ No newline at end of file
diff --git a/app/views/plans/_edit_details.html.erb b/app/views/plans/_edit_details.html.erb
new file mode 100644
index 0000000..a8db978
--- /dev/null
+++ b/app/views/plans/_edit_details.html.erb
@@ -0,0 +1,80 @@
+<% javascript('views/plans/edit.js') %>
+
+<%= form_for plan, html: {method: :put, class: "roadmap-form"} do |f| %>
+
+
+
+
+
+
+
+
+
<%= _('Plan Guidance Configuration') %>
+
<%= _('To help you write your plan, %{application_name} can show you guidance from a variety of organisations.') % {application_name: Rails.configuration.branding[:application][:name]} %>
+
+
<% _('Select up to 3 organisations to see their guidance.') %>
+
+<%= @important_ggs.inspect %>
+
+
+<% end %>
\ No newline at end of file
diff --git a/app/views/plans/_phase.html.erb b/app/views/plans/_phase.html.erb
deleted file mode 100644
index c83c46a..0000000
--- a/app/views/plans/_phase.html.erb
+++ /dev/null
@@ -1,113 +0,0 @@
-
- <% section.questions.order("number").each do |question| %>
- <% if question.id == session[:question_id_comments].to_i then id_css = "current_question" end %>
-
\ No newline at end of file
diff --git a/app/views/plans/_plan_details.html.erb b/app/views/plans/_plan_details.html.erb
deleted file mode 100644
index a8db978..0000000
--- a/app/views/plans/_plan_details.html.erb
+++ /dev/null
@@ -1,80 +0,0 @@
-<% javascript('views/plans/edit.js') %>
-
-<%= form_for plan, html: {method: :put, class: "roadmap-form"} do |f| %>
-
-
-
-
-
-
-
-
-
<%= _('Plan Guidance Configuration') %>
-
<%= _('To help you write your plan, %{application_name} can show you guidance from a variety of organisations.') % {application_name: Rails.configuration.branding[:application][:name]} %>
-
-
<% _('Select up to 3 organisations to see their guidance.') %>
-
-<%= @important_ggs.inspect %>
-
-
-<% end %>
\ No newline at end of file
diff --git a/app/views/plans/edit.html.erb b/app/views/plans/edit.html.erb
deleted file mode 100644
index 38de2ac..0000000
--- a/app/views/plans/edit.html.erb
+++ /dev/null
@@ -1,59 +0,0 @@
-
\ No newline at end of file
diff --git a/app/views/plans/index.html.erb b/app/views/plans/index.html.erb
index 472143c..4b2870d 100644
--- a/app/views/plans/index.html.erb
+++ b/app/views/plans/index.html.erb
@@ -46,7 +46,7 @@