* feat: update the email addresses in the site config * chore: update the default email address everywhere * feat: update the template for the config * chore: remove default_site_mail as an allowed parameter * feat: change biz@dev.to to teh business email address and with a subject * feat: update partners@dev.to to use SiteConfig.email_addresses[:business] * feta: update to business email address * feat: update members@dev.to to use the site config * feat: update privacy email * chore: Anna's suggestion to loop through object instead of keys
30 lines
740 B
Text
30 lines
740 B
Text
<style>
|
|
.error-notice {
|
|
background: rgba(255, 80, 80, 0.7);
|
|
color: white;
|
|
padding: 40px 0px 40px;
|
|
text-align: center;
|
|
position: relative;
|
|
top: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
}
|
|
</style>
|
|
<% unless flash[:alert].blank? %>
|
|
<div class="error-notice">
|
|
Something went wrong:
|
|
<% if flash[:alert].is_a?(Array) %>
|
|
<ul>
|
|
<% flash[:alert].each do |error| %>
|
|
<li>
|
|
<%= error %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
<% else %>
|
|
<%= flash[:alert] %>
|
|
<br>
|
|
<% end %>
|
|
Please try again below, or contact <a href="mailto:<%= SiteConfig.email_addresses[:default] %>"><%= SiteConfig.email_addresses[:default] %></a> if this persists.
|
|
</div>
|
|
<% end %>
|