Sha256: b936a50088e9d7bdb1a1f1fc2940a2d1fb7ea9195925a6f0563c75c45218b6db

Contents?: true

Size: 414 Bytes

Versions: 12

Compression:

Stored size: 414 Bytes

Contents

<% if @user.has_feature? :show_widget_table do %>
  <table>
    <thead>
      <tr>
        <th>Widget Name</th>
      </tr>
    </thead>

    <tbody>
      <% @user.widgets.each do |widget| %>
        <tr>
          <td><%= widget.name %></td>
      <% end %>
    </tbody>
  </table>
<% end; else %>
  <ul>
    <% @user.widgets.each do |widget| %>
      <li><%= widget.name %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
detour-0.0.15 spec/dummy/app/views/application/index.html.erb
detour-0.0.14 spec/dummy/app/views/application/index.html.erb
detour-0.0.13 spec/dummy/app/views/application/index.html.erb
detour-0.0.12 spec/dummy/app/views/application/index.html.erb
detour-0.0.11 spec/dummy/app/views/application/index.html.erb
detour-0.0.10 spec/dummy/app/views/application/index.html.erb
detour-0.0.9 spec/dummy/app/views/application/index.html.erb
detour-0.0.7 spec/dummy/app/views/application/index.html.erb
detour-0.0.6 spec/dummy/app/views/application/index.html.erb
detour-0.0.5 spec/dummy/app/views/application/index.html.erb
detour-0.0.3 spec/dummy/app/views/application/index.html.erb
detour-0.0.2 spec/dummy/app/views/application/index.html.erb