Skip to content

Commit

Permalink
add preview header to script#show as well
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Nov 9, 2023
1 parent 7f587bb commit b411ac1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/dashboard/app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<%= javascript_include_tag 'projects', nonce: true %>

<div class='page-header text-center'>
<h1><%= @project.title %></h1>
</div>
<br>
<h1 class="my-2"><%= @project.title %></h1>

<small class="text-muted">This is a preview of the new 'Project Manager'</small>
</div>


<div class='row row-cols-1 row-cols-md-2'>
<p>
<%= link_to 'Back', projects_path, class: 'btn btn-default', title: 'Return to projects page' %>
Expand Down

0 comments on commit b411ac1

Please sign in to comment.