Sha256: dd8550bb587c467cd88f93a9253f3887fe591fd618530126f048a180a561b0a3

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

<div class="container-fluid">
  <div class="row-fluid">
    <div class="span2">
      <div class="well sidebar-nav">
        <ul class="nav nav-list">
          <li class="nav-header">Code</li>
          <% @codes.each do |code| %>
          <li><%= link_to code, :anchor => code %></li>
          <% end %>
        </ul>
      </div><!--/.well -->
    </div><!--/span-->
    
    <div class="span10">
      <% @codes.each do |code| %>
      <a name="<%= code %>"></a><h2><%= code %></h2>
      <table class="table table-bordered table-condensed">
        <thead>
          <tr>
            <% C.send(code).headers.each do |c| %>
            <th><%= c %></th>
            <% end %>
          </tr>
        </thead>
        <tbody>
          <% C.send(code).values.each do |record| %>
          <tr>
            <% C.send(code).headers.each do |c| %>
            <td><%= record.send(c) %></td>
            <% end %>
          </tr>
          <% end %>
        </tbody>
      </table>
      <% end %>
    </div><!--/span-->
  </div><!--/row-->

</div><!--/.fluid-container-->

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railstar-0.0.10 app/views/railstar/general/code.html.erb
railstar-0.0.9 app/views/railstar/general/code.html.erb