anchor.diff:                        data: { confirm: t('.confirm', default: t("helpers.links.confirm")) },
                         class: 'btn btn-danger btn-primary' %>
   <%end%>
  -
   <br>
   <br>
  -
   <p>
     <%= link_to t('.back', default: t("helpers.links.back")), trips_path, class: 'btn btn-default'  %>
     <%= link_to 'Download', generate_pdf_path(doc_type: 'Dienstreiseantrag', doc_id: @trip), class: 'btn btn-success' %>
  
positive.code:     <dl class="dl-horizontal">
        <dt><strong><%= model_class.human_attribute_name(:destination) %>:</strong></dt>
        <dd><%= @trip.destination %></dd>
  
        <dt><strong><%= model_class.human_attribute_name(:reason) %>:</strong></dt>
        <dd><%= @trip.reason %></dd>
  
        <dt><strong><%= TripDatespan.human_attribute_name(:start_date) %>:</strong></dt>
        <dd><%=l @trip.trip_datespans.first.start_date %><%=l @trip.trip_datespans.first.start_date, format: ' (%A)' %></dd>
  
        <dt><strong><%= TripDatespan.human_attribute_name(:end_date) %>:</strong></dt>
        <dd><%=l @trip.trip_datespans.first.end_date %><%=l @trip.trip_datespans.first.end_date, format: ' (%A)' %></dd>
  
        <dt><strong><%= TripDatespan.human_attribute_name(:days_abroad) %>:</strong></dt>
        <dd><%= @trip.trip_datespans.first.days_abroad %> <%= t('.days') %></dd>
  
        <dt><strong><%= model_class.human_attribute_name(:annotations) %>:</strong></dt>
        <dd><%= @trip.annotation %></dd>
  
        <dt><strong><%= model_class.human_attribute_name(:signature) %>:</strong></dt>
        <dd><%= @trip.signature %></dd>
  
        <dt><strong><%= model_class.human_attribute_name(:status) %>:</strong></dt>
        <dd><%= t(".status.#{@trip.status}") + l(@trip.updated_at)%></dd>
      </dl>
    </div>
  </div>
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  <% if (can? :accept, @trip) && @trip.status == 'applied' %>
    <%= link_to t('.reject'), reject_trip_path, class: 'btn btn-primary' %> 
    <%= link_to t('.accept'), accept_trip_path, class: 'btn btn-primary' %>
  <% end %>
  
  <% unless @trip.status == 'applied' || @trip.status == 'accepted' %>
    <%= link_to t('.hand_in', default: t("helpers.links.hand_in")),
                        hand_in_trip_path(@trip), method: :post, class: 'btn btn-primary btn-primary' %>
  
negative.code: <%- model_class = Trip -%>
  <div class="page-header">
    <h1><%=t '.title', default: model_class.model_name.human.titleize %></h1>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading">
      <div class="row">
  