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