<h1><%= @department.area.name %></h1>

<h2><%= @department.name %></h2>

<p><%= @department.description %></p>

<h2>Directrices</h2>
<p><%= @department.directives.html_safe %></p>

<h2>Objetivos</h2>
<ul class="objectives">
  <% @department.objectives.order(:order).each do |objective| %>
    <%= content_tag_for :li, objective do %>
      <%= link_to objective.title, objective_path(objective) %>
    <% end %>
  <% end %>
</ul>
<h1><%= @department.area.name %></h1>

<h2><%= @department.name %></h2>

<p><%= @department.description %></p>

<h2>Directrices</h2>
<p><%= @department.directives.html_safe %></p>

<h2>Objetivos</h2>
<ul class="objectives">
  <% @department.objectives.order(:order).each do |objective| %>
    <%= content_tag_for :li, objective do %>
      <%= link_to objective.title, objective_path(objective) %>
      <%= link_to "Editar", edit_objective_path(objective) %>
    <% end %>
  <% end %>
</ul>
Add edit objective to department show
Add edit objective to department show
