Newer
Older
dmpopidor / app / views / phases / _show_phase.html.erb
<!-- show phase details -->

<h3>
  <%= _('Phase details')%>

  <!-- edit phase details button -->
  <% if @phase.modifiable %>
    <div class="move_2_right">
      <%= link_to _('Edit phase details'), '#', class: "btn btn-primary", id: "edit_phase_button"%>
    </div>
  <% end %>
</h3>

<% if @phase.template.org.not_funder %>
  <div class="div_left">
    <%= raw _('<p>Here you set the title that users will see. If you intend to have multiple phases for you DMP, this should be clear in the title and description.<p/>')%>
  </div>
<% end %>

<br />
<div class="div_clear"></div>

<table class="dmp_details_table phase">
  <tr>
    <td class="first_template"><%= _('Title') %></td>
    <td><%= @phase.title %></td>
  </tr>
  <tr>
    <td class="first_template"><%= _('Order of display') %></td>
    <td><%= @phase.number %></td>
  </tr>
  <tr>
    <td class="first_template"><%= _('Description') %></td>
    <td class="phase_table_last_column"><%= raw @phase.description %></td>
  </tr>
</table>
<div class="div_clear"></div>