You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
356 B

13 years ago
<% for name in [:info, :warning, :error] %>
<% if flash[name] %>
<div class="<%= "#{name}-message message" %>">
<%= h flash[name] %>
<% if request.xhr? %>
<a href="#" onclick="ActiveScaffold.remove(this.parentNode); return false;" title="<%= as_(:close) %>"><%= as_(:close) %></a>
<% end %>
</div>
<% end %>
<% end %>