fix flow to work
This commit is contained in:
@@ -5,7 +5,7 @@ div.page-header= title :index, model_class
|
||||
thead
|
||||
tr
|
||||
th= model_class.human_attribute_name(:state)
|
||||
th= model_class.human_attribute_name(:need_help)
|
||||
th= model_class.human_attribute_name(:needs_help)
|
||||
th= model_class.human_attribute_name(:needs_payment)
|
||||
th= model_class.human_attribute_name(:closed_at)
|
||||
th= Table.model_name.human
|
||||
@@ -15,7 +15,7 @@ div.page-header= title :index, model_class
|
||||
- @lists.each do |list|
|
||||
tr
|
||||
td= link_to list.state, list
|
||||
td= list.need_help
|
||||
td= list.needs_help
|
||||
td= list.needs_payment
|
||||
td= list.closed_at
|
||||
td= link_to_if list.table.present?, list.table.try(:number), list.table
|
||||
|
||||
Reference in New Issue
Block a user