remove old alert messages
This commit is contained in:
parent
e2fb18a3ec
commit
b742f47e89
35 changed files with 42 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue