Sha256: d599680f489d41c4eda8fde1aa60988b07e85b5d3548580e0200c90033c24d24
Contents?: true
Size: 1.6 KB
Versions: 21
Compression:
Stored size: 1.6 KB
Contents
<div class='container-fluid'> <h3 class='pt-4'><%= t('.title') %></h3> <div class='row'> <div class='col-md-3'> <div class='card'> <div class='card-header'><%= t '.result' %></div> <ul class='list-group list-group-flush'> <%= content_tag(:li, t('.created', count: @created.size), class: 'list-group-item') unless @created.empty? %> <%= content_tag(:li, t('.error', count: @error.size), class: 'list-group-item') unless @error.empty? %> </ul> </div> <hr> <%= link_to users_path, class: 'btn btn-primary' do %> <%= icon :fas, 'arrow-left', t('chaltron.common.back') %> <% end %> </div> <div class='col-md-9'> <% unless @created.empty? %> <div class='card mb-4'> <ul class='list-group list-group-flush'> <% @created.each do |u| %> <%= content_tag :li, class: 'list-group-item list-group-item-success' do %> <%= icon :fas, :check, u.display_name %> <% end %> <% end %> </ul> </div> <% end %> <% unless @error.empty? %> <% @error.each do |u| %> <div class='card text-white bg-danger mb-4'> <div class='card-header'><%= u.display_name %></div> <ul class='list-group list-group-flush text-danger'> <% u.errors.full_messages.each do |message| %> <%= content_tag :li, message, class: 'list-group-item' %> <% end %> </ul> </div> <% end %> <% end %> </div> </div> </div>
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
chaltron-1.0.2 | app/views/chaltron/ldap/multi_create.html.erb |