Fix return_to on generic "Create" button.
[arvados.git] / apps / workbench / app / views / application / show.html.erb
1 <% if @object.respond_to? :properties %>
2
3 <% content_for :page_title do %>
4 <%= @object.properties[:page_title] || @object.uuid %>
5 <% end %>
6
7 <% if @object.properties[:page_content] %>
8 <% content_for :page_content do %>
9 <h1>
10 <%= render_content_from_database(@object.properties[:page_title] || @object.uuid) %>
11 </h1>
12
13 <% if @object.properties[:page_subtitle] %>
14 <h4>
15 <%= render_content_from_database @object.properties[:page_subtitle] %>
16 </h4>
17 <% end %>
18
19 <%= render_content_from_database @object.properties[:page_content] %>
20 <% end %>
21 <% end %>
22 <% end %>
23
24
25 <%= render :partial => 'application/arvados_object' %>