Sha256: adaf0f1088319bd86010ae3f9f021a18540ba33e6532dee434ca06def2dfccf4

Contents?: true

Size: 576 Bytes

Versions: 2

Compression:

Stored size: 576 Bytes

Contents

<%% if alert.present? %>
  <div class="alert alert-danger alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="关闭">
      <i class="fa fa-close"></i>
    </button>
    <strong>注意:</strong> <%%= alert %>
  </div>
<%% end %>

<%% if notice.present? %>
  <div class="alert alert-success alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="关闭">
      <i class="fa fa-close"></i>
    </button>
    <strong>成功:</strong> <%%= notice %>
  </div>
<%% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
repres-bootstrap-2.0 lib/generators/repres/bootstrap/platform/templates/app/views/shared/_alert.html.erb
repres-bootstrap-1.11 lib/generators/repres/bootstrap/platform/templates/app/views/shared/_alert.html.erb