% title "'#{@table.name}' Schema" %>
Table: <%= @table.name %>
- <%= link_to raw("#{fa_icon('table')} Records"), table_data_path(@table) %>
- <%= link_to raw("#{fa_icon('tasks')} Schema"), table_path(@table) %>
- <%= select_top_from_table(@table.name) %>
- <%= link_to raw("#{fa_icon('file-excel-o')} Export"), table_csv_path(@table) %>
<% @table.column_properties.each do |key| %>
<%= key.titleize.upcase %> |
<% end %>
<% @table.columns.each do |col| %>
<% @table.column_properties.each do |key| %>
<%= col.send(key) %> |
<% end %>
<% end %>