%= render 'breadcrumb',
:parent => @route[:reqs][:controller].humanize,
:current => @route[:path],
:label => @route[:verb],
:label_type => 'important'
%>
<% if @params.is_a?(Hash) && @params.has_key?(:undefined) %>
<%= render 'undefined_route', :route => @params[:undefined] %>
<% else %>
<% if @comment %>
<%= markdown @comment %>
<% end %>
<% @params.each do |param| %>
<%= form_tag @route[:path], :method => @route[:verb], :class => 'well form-horizontal', :remote => true do %>
<% if param[:url_params].empty? && param[:post_params].empty? %>
No params specified.
<% else %>
- Request
<% if param[:url_params].present? %>
- class="active"<% end %>>URL
<% end %>
<% if param[:post_params].present? %>
- POST
<% end %>
<% end %>
<% if param[:url_params].present? %>
<% end %>
<% if param[:post_params].present? %>
<% end %>
<% end %>
<% end %>
<% end %>