Sha256: 6cc3f10eb1f0256b93dc539bbd50eb57a0e29fc188305bf86f15b17bf41395e9
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
<ul class='breadcrumb'> <li> <a href='<%= @doc[:doc_url] %>.html'><%= @doc[:name] %> <%= @resource[:version] %></a> <span class='divider'>/</span> </li> <li class='active'> <%= @resource[:name] %> <% if @resource[:version] %><% end %> </li> </ul> <div class='page-header'> <h1> <%= @resource[:name] %> <br> <small><%= raw @resource[:short_description] %></small> </h1> </div> <% unless @resource[:full_description].blank? %> <div><%= raw @resource[:full_description] %></div> <% end %> <% unless @resource[:metadata].blank? %> <h2>Metadata</h2> <%= render(:partial => "metadata", :locals => {:meta => @resource[:metadata]}) %> <% end %> <% unless @resource[:formats].blank? %> <h2>Supported Formats</h2> <%= @resource[:formats].join(', ') %> <% end %> <div class='accordion' id='accordion'> <% @resource[:methods].each do |m| %> <hr> <div class='pull-right small'> <a href='<%= m[:doc_url] %>.html'> >>> </a> </div> <div> <% m[:apis].each do |api| %> <h2> <a href='#description-<%= m[:name] %>' class='accordion-toggle' data-toggle='collapse' data-parent='#accordion'> <%= api[:http_method] %> <%= api[:api_url] %> </a><br> <small><%= raw api[:short_description] %></small> </h2> <% end %> </div> <% unless m[:see].empty? %> Also see <%= m[:see].map { |s| link_to(s[:description], "#{s[:link]}.html") }.to_sentence.html_safe %>. <% end %> <div id='description-<%= m[:name] %>' class='collapse accordion-body'> <%= render(:partial => "method_detail", :locals => {:method => m, :h_level => 3}) %> </div> <% end %> </div> <% content_for :apipie_footer do %> <%= raw @doc[:copyright] %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apipie-rails-0.1.0 | app/views/apipie/apipies/resource.html.erb |