Sha256: 2862ed428d8c62706ab89f4bd6833c7304fc249007eb5d3a625a1785d5094a16

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

<% errors = local_assigns.fetch(:errors, {}) %>

<% if errors.any? %>
  <%= link_to "Debug errors", "#debug-errors", class: "toggle-debug-errors small", data: { bs_toggle: "collapse" } %>

  <div id="debug-errors" class="debug-errors collapse">
    <ul>
      <% errors.each do |key, message| %>
        <li class="small"><tt><%= key %>:</tt> <%= message %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.10.1 app/views/trestle/flash/_debug.html.erb
trestle-0.10.0 app/views/trestle/flash/_debug.html.erb
trestle-0.10.0.pre2 app/views/trestle/flash/_debug.html.erb
trestle-0.10.0.pre app/views/trestle/flash/_debug.html.erb