Sha256: c0e2672564b5aefffd36a063a2468931ccd5b954b904bc1ae11712e863b25f07

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trestle-0.8.8 app/views/trestle/flash/_flash.html.erb