Sha256: 80084f8ea37373faeb28716be79a0050d4b9be1b7fe3f81b842d513c2303844a
Contents?: true
Size: 1.31 KB
Versions: 6
Compression:
Stored size: 1.31 KB
Contents
<% content_for :title do %>Schema<% end %> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="header"> <h4 class="title"></h4> </div> <div class="content"> <div class="row"> <% ::Localtower::Tools.models_presented.each do |model| %> <div class="col-md-6"> <h3><%= model[:name] %></h3> <table class="table table-hover table-striped"> <thead> <th>Field</th> <th>Type</th> <th>Index?</th> </thead> <tbody> <% model[:attributes_list].each do |attribute_data| %> <tr> <td> <code> <%= attribute_data["name"] %> </code> </td> <td> <%= attribute_data["type_clean"] %> </td> <td> <% if attribute_data["index"].any? %> <span class="label label-primary">Yes</span> <% end %> </td> </tr> <% end %> </tbody> </table> </div> <% end %> </div> </div> </div> </div> </div>
Version data entries
6 entries across 6 versions & 1 rubygems