Sha256: 339d5f00f3b6193a16c16528b3875d2dbffc4ae45de70cb0efa48c0cbbc89e75

Contents?: true

Size: 385 Bytes

Versions: 6

Compression:

Stored size: 385 Bytes

Contents

p style="color: green" = notice

h1 <%= human_name.pluralize %>

#<%= plural_table_name %>
  - @<%= plural_table_name %>.each do |<%= singular_table_name %>|
    == render <%= singular_table_name %>
    p
      = link_to "Show this <%= human_name.downcase %>", <%= model_resource_name(singular_table_name) %>

= link_to "New <%= human_name.downcase %>", <%= new_helper(type: :path) %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slim-rails-3.6.3 lib/generators/slim/scaffold/templates/index.html.slim.tt
slim-rails-3.6.2 lib/generators/slim/scaffold/templates/index.html.slim.tt
slim-rails-3.6.1 lib/generators/slim/scaffold/templates/index.html.slim.tt
slim-rails-3.5.1 lib/generators/slim/scaffold/templates/index.html.slim.tt
slim-rails-3.5.0 lib/generators/slim/scaffold/templates/index.html.slim.tt
slim-rails-3.4.0 lib/generators/slim/scaffold/templates/index.html.slim.tt