docbrown/app/views/users/_errors.html.erb
rhymes 1c3b619583
[deploy] Fix settings billing section and other profile improvements (#7525)
* Truncate displayed username length to max length

* Better error notice

* Fix broken billing Stripe functionality

* Display server side credits purchasing errors

* Be explicit in the name of the partial

* Full name
2020-04-27 16:59:03 +02:00

14 lines
420 B
Text

<div class="crayons-card crayons-card--secondary crayons-notice crayons-notice--danger">
<div class="crayons-card__header">
<h3 class="crayons-card__headline">
<%= pluralize(errors.size, "error") %> <%= title_suffix %>:
</h3>
</div>
<div class="crayons-card__body">
<ul>
<% errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
</ul>
</div>
</div>