Sha256: c268521bf7a4962c438eb063ed2c843555c37d96771e85276ce38683d54ddba2

Contents?: true

Size: 316 Bytes

Versions: 6

Compression:

Stored size: 316 Bytes

Contents

<% if @user.errors.any? %>
  <div id="error_explanation">
    <div class="alert alert-danger">
      O formulário contém <%= pluralize(@user.errors.count, "error") %>.
    </div>
    <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 app/views/cas/shared/_error_messages.html.erb
cas-cms-1.0.0.alpha1 app/views/cas/shared/_error_messages.html.erb
cas-cms-0.1.3 app/views/cas/shared/_error_messages.html.erb
cas-cms-0.1.2 app/views/cas/shared/_error_messages.html.erb
cas-cms-0.1.1 app/views/cas/shared/_error_messages.html.erb
cas-cms-0.1.0 app/views/cas/shared/_error_messages.html.erb