Sha256: 0f92646e5132f037c5bc53b0302f94b48387d622c8c99d39d69bd30120edbec3

Contents?: true

Size: 623 Bytes

Versions: 25

Compression:

Stored size: 623 Bytes

Contents

<script>
  LiveRecord.helpers.loadRecords({modelName: '<%= singular_table_name.camelcase %>'})
</script>
<p id="notice"><%%= notice %></p>

<% attributes.reject(&:password_digest?).each do |attribute| -%>
<p>
  <strong><%= attribute.human_name %>:</strong>
  <span data-live-record-update-from='<%= singular_table_name.camelcase %>-<%%= @<%= singular_table_name %>.id %>-<%= attribute.name %>'>
  	<%%= @<%= singular_table_name %>.<%= attribute.name %> %>
  </span>
</p>

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
live_record-1.0.2 lib/live_record/generators/templates/show.html.erb
live_record-1.0.1 lib/live_record/generators/templates/show.html.erb
live_record-1.0.0 lib/live_record/generators/templates/show.html.erb
live_record-0.3.6 lib/live_record/generators/templates/show.html.erb
live_record-0.3.4 lib/live_record/generators/templates/show.html.erb
live_record-0.3.3 lib/live_record/generators/templates/show.html.erb
live_record-0.3.2 lib/live_record/generators/templates/show.html.erb
live_record-0.3.1 lib/live_record/generators/templates/show.html.erb
live_record-0.3.0 lib/live_record/generators/templates/show.html.erb
live_record-0.2.8 lib/live_record/generators/templates/show.html.erb
live_record-0.2.7 lib/live_record/generators/templates/show.html.erb
live_record-0.2.6 lib/live_record/generators/templates/show.html.erb
live_record-0.2.5 lib/live_record/generators/templates/show.html.erb
live_record-0.2.4 lib/live_record/generators/templates/show.html.erb
live_record-0.2.3 lib/live_record/generators/templates/show.html.erb
live_record-0.2.2 lib/live_record/generators/templates/show.html.erb
live_record-0.2.1 lib/live_record/generators/templates/show.html.erb
live_record-0.2.0 lib/live_record/generators/templates/show.html.erb
live_record-0.1.2 lib/live_record/generators/templates/show.html.erb
live_record-0.1.1 lib/live_record/generators/templates/show.html.erb