Sha256: 6fa1ebd4133c0b08149091958c3cbfc93c1b3a772045ece116543d145c51168e

Contents?: true

Size: 486 Bytes

Versions: 5

Compression:

Stored size: 486 Bytes

Contents

<% if flash[:message] -%>
  <%= render "trestle/flash/alert", html_class: "alert-success", icon: icon("alert-icon ion-ios-checkmark-outline"), alert: normalize_flash_alert(flash[:message]) %>
<% elsif flash[:error] -%>
  <%= render layout: "trestle/flash/alert", locals: { html_class: "alert-danger", icon: icon("alert-icon ion-ios-close-outline"), alert: normalize_flash_alert(flash[:error]) } do %>
    <%= render "trestle/flash/debug" if debug_form_errors? %>
  <% end %>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trestle-0.8.13 app/views/trestle/flash/_flash.html.erb
trestle-0.8.12 app/views/trestle/flash/_flash.html.erb
trestle-0.8.11 app/views/trestle/flash/_flash.html.erb
trestle-0.8.10 app/views/trestle/flash/_flash.html.erb
trestle-0.8.9 app/views/trestle/flash/_flash.html.erb