Sha256: e6cabeb74977e027d83e5491716b68532b5f48abf35c083ce9b268c9028dc068

Contents?: true

Size: 651 Bytes

Versions: 6

Compression:

Stored size: 651 Bytes

Contents

<h1><%=@name %></h1>
<p class="summary"><%=@content %></p>

<% if @xml || @json %>
  <h2>Representations</h2>

  <% if @json %>
    <a name="json"></a>
    <strong>JSON representation:</strong> <br /><a href="javascript:$('#jsonrep').toggle()">(toggle code)</a><br />
    <textarea style="width:100%;height:200px;display:none;" id="jsonrep"><%=@json %></textarea><br />
  <% end %>

  <% if @xml %>
    <a name="xml"></a>
    <strong>XML representation:</strong> <br /><a href="javascript:$('#xmlrep').toggle()">(toggle code)</a><br/>
    <textarea style="width:100%;height:200px;display:none;" id="xmlrep"><%=@xml %></textarea>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rapi_doc-0.3.1 templates/_resource_header.html.erb
rapi_doc-0.2.2 templates/_resource_header.html.erb
rapi_doc-0.2.1 templates/_resource_header.html.erb
rapi_doc-0.1.2 templates/_resource_header.html.erb
rapi_doc-0.1.1 templates/_resource_header.html.erb
rapi_doc-0.1.0 templates/_resource_header.html.erb