Files
grecia/app/views/layouts/dashboard/_proposal_header.html.erb
Juan Salvador Pérez García 0adecfa95e Fixes #208
Changes in feature view.
2018-07-17 17:59:12 +02:00

18 lines
524 B
Plaintext

<div class="proposal-title">
<h3 class="proposal-title"><%= link_to proposal.title, proposal, target: '_blank' %></h3>
<% if proposal.retired? %>
<div class="label alert"><%= t('.retired') %></div>
<% elsif proposal.published? %>
<div class="label success"><%= t('.published') %></div>
<% else %>
<div class="label primary"><%= t('.draft') %></div>
<% end %>
</div>
<% if content_for?(:action_title) %>
<div class="action-title">
<h5><%= yield(:action_title) %></h5>
<hr>
</div>
<% end %>