Sha256: 4da5737ed7bfceace13b37a436b9eaf72807ea82a809f3a0426f03a8e04a9133

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

<% if notice %>
  <div class="alert alert-success alert-dismissible fade show d-flex align-items-center offset-md-3 col-6" role="alert">
    <%= render "good_job/shared/icons/check", class: "flex-shrink-0 me-2" %>
    <div><%= notice %></div>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  </div>
<% elsif alert %>
  <div class="alert alert-warning alert-dismissible fade show d-flex align-items-center offset-md-3 col-6" role="alert">
    <%= render "good_job/shared/icons/exclamation", class: "flex-shrink-0 me-2" %>
    <div><%= alert %></div>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
good_job-2.13.0 engine/app/views/good_job/shared/_alert.erb
good_job-2.12.2 engine/app/views/good_job/shared/_alert.erb
good_job-2.12.1 engine/app/views/good_job/shared/_alert.erb
good_job-2.12.0 engine/app/views/good_job/shared/_alert.erb