Sha256: 2e74d9f281a7992098f31c0ec9b586f94c45e754d828de6d82327784dbb4c688

Contents?: true

Size: 347 Bytes

Versions: 9

Compression:

Stored size: 347 Bytes

Contents

<% @previews.each do |preview| %>
  <h3><%= link_to preview.preview_name.titleize, "/rails/view_components/#{preview.preview_name}" %></h3>
  <ul>
    <% preview.examples.each do |preview_example| %>
      <li><%= link_to preview_example, "/rails/view_components/#{preview.preview_name}/#{preview_example}" %></li>
    <% end %>
  </ul>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
view_component-2.5.1 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.5.0 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.4.0 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.3.0 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.2.2 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.2.1 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.2.0 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.1.0 lib/railties/lib/rails/templates/rails/components/index.html.erb
view_component-2.0.0 lib/railties/lib/rails/templates/rails/components/index.html.erb