Merge branch '8400-additional-gitignore' of https://github.com/wtsi-hgi/arvados close...
[arvados.git] / apps / workbench / app / views / projects / show.html.erb
index 0cab11797c72c978b06c5e742aa9c81abb48ba95..6033a3491051d657bfb470eb351f2df710edb90c 100644 (file)
@@ -1,7 +1,12 @@
-<% if @object.uuid != current_user.uuid # Not the "Home" project %>
 <% content_for :content_top do %>
-  <%= render partial: 'name_and_description' %>
-<% end %>
+  <h2>
+    <% if @object.uuid == current_user.andand.uuid %>
+      Home
+    <% else %>
+      <%= render partial: "show_star" %>
+      <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => "New project" } %>
+    <% end %>
+  </h2>
 <% end %>
 
 <% content_for :tab_line_buttons do %>