Sha256: bf57d927d7ea2d0f66af11c881d707a73763197eb11e29318e31fb02bf529fb6

Contents?: true

Size: 675 Bytes

Versions: 3

Compression:

Stored size: 675 Bytes

Contents

<article class="card border-light error <%= @symbol %>">
  <div class="row no-gutters">
    <div class="col-md-4">
      <%= image_tag "wallaby/#{@symbol}.png", class: 'card-img' %>
    </div>
    <div class="col-md-8">
      <div class="card-body">
        <h1 class="card-title">
          <em><%= @code %></em>
          <span><%= t "http_errors.#{@symbol}" %></span>
        </h1>
        <p class="card-text">
          <% if @code >= 500 && @code != 501 %>
            <%= t "http_errors.report_error_html" %>
          <% else %>
            <%= @exception.try(:message) || flash[:alert] %>
          <% end %>
        </p>
      </div>
    </div>
  </div>
</article>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wallaby-6.1.0 app/views/wallaby/resources/error.html.erb
wallaby-6.0.2 app/views/wallaby/resources/error.html.erb
wallaby-6.0.1 app/views/wallaby/resources/error.html.erb