Sha256: 4361ec9b60aecb6b55c6bcb39a9ae30d690e049f7830985d34be6c156d251208
Contents?: true
Size: 1.39 KB
Versions: 10
Compression:
Stored size: 1.39 KB
Contents
<%- # :alert used by devise -%> <% [:error, :alert].each do |key| %> <% if flash[key] %> <div class="row server-alert"> <div class="col-md-12"> <div class="alert alert-danger"><%= flash[key] %></div> </div> </div> <% end %> <% end %> <% if flash[:notice] %> <div class="row server-alert"> <div class="col-md-12"> <div class="alert alert-info"><%= flash[:notice] %></div> </div> </div> <% end %> <!--This is for ajax calls that need to notify for error, to trigger this alert use ajaxAlert(message, timeout)--> <div id="ajaxErrorAlert" class="row ajaxAlert" style="display: none"> <div class="col-md-12"> <div class="alert alert-danger"> <button type="button" class="close" aria-label="Close"> <span aria-hidden="true">×</span> </button> <span id="ajaxErrorAlertMessage" class="ajaxAlertMessage"></span> </div> </div> </div> <!--This is for ajax calls that need to notify information, to trigger this alert use ajaxInfo(message, timeout)--> <div id="ajaxInfoAlert" class="row ajaxAlert" style="display: none"> <div class="col-md-12"> <div class="alert alert-info"> <button type="button" class="close" aria-label="Close"> <span aria-hidden="true">×</span> </button> <span id="ajaxInfoAlertMessage" class="ajaxAlertMessage"></span> </div> </div> </div>
Version data entries
10 entries across 10 versions & 1 rubygems