Sha256: 4557d01a39126cf0cbb677744379334ab79683dbcd80f041216251ab882530b9

Contents?: true

Size: 341 Bytes

Versions: 4

Compression:

Stored size: 341 Bytes

Contents

markup do |m|
  m.p id: 'notice'
  m.dl do
<% attributes.each do |attribute| -%>
    m.dt '<%= attribute.human_name %>:'
    m.dd @<%= singular_table_name %>.<%= attribute.name %>
<% end -%>
  end

  m << link_to('Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>))
  m << link_to('Back', <%= index_helper %>_path)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
we_bridge-html_builder-0.1.7 lib/generators/builder/scaffold/templates/show.html.builder
we_bridge-html_builder-0.1.6 lib/generators/builder/scaffold/templates/show.html.builder
we_bridge-html_builder-0.1.5 lib/generators/builder/scaffold/templates/show.html.builder
we_bridge-html_builder-0.1.4 lib/generators/builder/scaffold/templates/show.html.builder