- <%= @route[:reqs][:controller].humanize %>/
-
<%= @route[:verb] %>
<%= @route[:path] %>
<% 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 %>