Sha256: 1e5e90fa49cf2923aeee440586302641a8f007c64cd01faa3f27494eafd78247

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

<%%= menu %>

<div id="contents">
<%%= submenu %>

<div id="main">

<%%= message %>

<%%= pagetitle :title => "<%= name %>" %>

<%%= flash_tag %>

<div class="commonBtnArea">
<div class="leftBox">
<%%= search_tag %>
</div>
<div class="rightBox">
<%%= csv_button_tag %>
<%%= new_button_tag %>
</div>
<!--/ commonBtnArea--></div>

<div class="list">
<%%= will_paginate @<%= plural_name %> %>
<%%= counter_tag %>
<table class="commonList">
<thead>
  <tr>
    <th><%%=hlabel :<%= singular_name %>, :id %><%%= sort_tag('id') %></th>
<% for attribute in attributes -%>
    <th><%%=hlabel :<%= singular_name %>, :<%= attribute.name %> %><%%= sort_tag('<%= attribute.name %>')%></th>
<% end -%>
  </tr>
</thead>
<tbody>
<%% @<%= plural_name %>.each do |<%= singular_name %>| %>
  <tr>
    <td><%%=link_to <%= singular_name %>.id, <%= singular_name %> %></td>
<% for attribute in attributes -%>
    <td><%%=h <%= singular_name %>.<%= attribute.name %> %></td>
<% end -%>
  </tr>
<%% end %>
</tbody>
</table>
<!--/ list--></div>

<div class="commonBtnArea">
<div class="centerBox">
</div>
<!--/ commonBtnArea--></div>

<!--/ #main--></div>
<!--/ #contents--></div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ava_scaffold_generator-0.0.2 templates/view_index.html.erb