Sha256: b550a6e67064501ebdc2815027a9588e0eb0083b458e5a1ebbcaa1e1603bdf1c

Contents?: true

Size: 598 Bytes

Versions: 11

Compression:

Stored size: 598 Bytes

Contents

- model_class = <%= model_class %>
h1= model_class.model_name.human

dl
  <%- columns.each do |column| -%>
  dt.bold= model_class.human_attribute_name(:<%= column.name %>) + ':'
  dd= @<%= resource_name %>.<%= column.name %>
  <%- end -%>

div
  = link_to 'Back', <%= controller_routing_path %>_path, :class => 'btn'
  = link_to 'Edit', edit_<%= singular_controller_routing_path %>_path(@<%= resource_name %>), :class => 'btn'
  = link_to 'Destroy', <%= singular_controller_routing_path %>_path(@<%= resource_name %>), :method => "delete", :data => { :confirm => 'Are you sure?' }, :class => 'btn'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kube-rails-0.4.0 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.3.1 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.3.0 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.2.0 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.10 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.9 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.8 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.7 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.6 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.5 lib/generators/kube/themed/templates/show.html.slim
kube-rails-0.0.4 lib/generators/kube/themed/templates/show.html.slim