Sha256: 1cf43b6cb9d60eed63a53963232c80aa8f912e2c8c606f8a0b67c972bd7f4aa7

Contents?: true

Size: 488 Bytes

Versions: 22

Compression:

Stored size: 488 Bytes

Contents

<div data-id="{{id}}" class="<%= name.downcase %>">
  <%- attributes.each do |attribute| %>
    <%- if attribute.type == 'text' %>
      <p data-attribute="<%= attribute.name %>">{{<%= attribute.name %>}}</p>
    <%- else -%>
      <h1 data-attribute="<%= attribute.name %>">{{<%= attribute.name %>}}</h1>
    <%- end -%>
  <% end %>

  <a href="#" data-bind="<%= name.downcase.pluralize %>#edit">Edit</a>
  <a href="#" data-bind="<%= name.downcase.pluralize %>#destroy">Delete</a>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
eyeballs-0.5.17 templates/scaffold_partial.html.mustache
eyeballs-0.5.16 templates/scaffold_partial.html.mustache
eyeballs-0.5.15 templates/scaffold_partial.html.mustache
eyeballs-0.5.14 templates/scaffold_partial.html.mustache
eyeballs-0.5.13.2 templates/scaffold_partial.html.mustache
eyeballs-0.5.13.1 templates/scaffold_partial.html.mustache
eyeballs-0.5.13 templates/scaffold_partial.html.mustache
eyeballs-0.5.12.1 templates/scaffold_partial.html.mustache
eyeballs-0.5.12 templates/scaffold_partial.html.mustache
eyeballs-0.5.11 templates/scaffold_partial.html.mustache
eyeballs-0.5.10.1 templates/scaffold_partial.html.mustache
eyeballs-0.5.10 templates/scaffold_partial.html.mustache
eyeballs-0.5.9 templates/scaffold_partial.html.mustache
eyeballs-0.5.8.2 templates/scaffold_partial.html.mustache
eyeballs-0.5.8.1 templates/scaffold_partial.html.mustache
eyeballs-0.5.8 templates/scaffold_partial.html.mustache
eyeballs-0.5.7.2 templates/scaffold_partial.html.mustache
eyeballs-0.5.7.1 templates/scaffold_partial.html.mustache
eyeballs-0.5.7 templates/scaffold_partial.html.mustache
eyeballs-0.5.6.1 templates/scaffold_partial.html.mustache