Merge 3427233057 into 00c095d054
This commit is contained in:
commit
8541e47f88
7 changed files with 30 additions and 31 deletions
|
|
@ -133,21 +133,6 @@ module ApplicationHelper
|
|||
result
|
||||
end
|
||||
|
||||
def bootstrap_class_for(flash_type)
|
||||
case flash_type
|
||||
when 'success'
|
||||
'alert-success'
|
||||
when 'error'
|
||||
'alert-danger'
|
||||
when 'alert'
|
||||
'alert-warning'
|
||||
when 'notice'
|
||||
'alert-info'
|
||||
else
|
||||
'alert-warning'
|
||||
end
|
||||
end
|
||||
|
||||
def label_for(event_state)
|
||||
result = ''
|
||||
case event_state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue