Sha256: a9431649b6207fa3fe0f92ec3064dd9f150873d763b61fd71bdb8823ecb539ec

Contents?: true

Size: 654 Bytes

Versions: 1

Compression:

Stored size: 654 Bytes

Contents

- title <%= class_name %>.human_name(:count => 2)

%table
  %tr
    <%- for attribute in attributes -%>
    %th= <%= class_name %>.human_attribute_name('<%= attribute.name %>')
    <%- end -%>
  - for <%= singular_name %> in @<%= plural_name %>
    %tr
      <%- for attribute in attributes -%>
      %td= h <%= singular_name %>.<%= attribute.name %>
      <%- end -%>
<%= render_link :show, :ident => 3, :tag => :td, :instance_variable => false -%>
<%= render_link :edit, :ident => 3, :tag => :td, :instance_variable => false -%>
<%= render_link :destroy, :ident => 3, :tag => :td, :instance_variable => false -%>

<%= render_link :new, :tag => :p -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
splendeo-generators-0.3.1 rails_generators/splendeo_scaffold/templates/views/haml/index.html.haml