%= javascript_include_tag "ruling_timers/marked.min.js" %>
<%= fields_for :task, @task do |f| %>
<%=
content_tag :div, class: "bottomnav clearfix" do
referer = request.referer rescue nil
referer = task_management_admin_ruling_timers_path if referer.blank? || request.host != URI.parse(URI.encode(referer)).host
link_to(t('edit'), edit_task_admin_ruling_timer_path , :class=>"btn") +
link_to(t('ruling_timer.back'), referer, :class=>"btn")
end %>
<% end %>