Sha256: 78a066b9109fe2fd938c45ec089e48011c5d8a756de7241299754e6cadd00841

Contents?: true

Size: 303 Bytes

Versions: 53

Compression:

Stored size: 303 Bytes

Contents

<% if model.errors.present? %>
  <%= alert('danger') do %>
    <p><%= glyphicon('exclamation-sign') %> <%= t('kadmin.forms.please_correct') %></p>
    <ul>
      <% model.errors.full_messages.each do |message| %>
        <li><%= message.html_safe %></li>
      <% end %>
    </ul>
  <% end %>
<% end %>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
kadmin-1.3.0 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.2.1 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.2.0 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.1.1 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.1.0 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.9 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.8 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.7 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.6 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.5 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.4 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.3 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.2 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.1 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-1.0.0 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-0.9.5 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-0.9.4 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-0.8.0 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-0.7.5 app/views/kadmin/helpers/_form_errors.html.erb
kadmin-0.7.4 app/views/kadmin/helpers/_form_errors.html.erb