remove old alert messages

This commit is contained in:
Dmitriy Zaporozhets 2013-01-30 16:53:18 +02:00
parent e2fb18a3ec
commit b742f47e89
35 changed files with 42 additions and 36 deletions

View file

@ -14,7 +14,7 @@
- if can? current_user, :admin_project, @project
= form_for [@project, @protected_branch] do |f|
-if @protected_branch.errors.any?
.alert-message.block-message.error
.alert.alert-error
%ul
- @protected_branch.errors.full_messages.each do |msg|
%li= msg