let situation can change
This commit is contained in:
parent
a992494eb3
commit
ea2f8ebf24
|
@ -83,11 +83,12 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"><%= f.label t('situation') %>
|
||||
<% tmp = {'is_waiting'=>t('ask.is_waiting'),
|
||||
'is_processed'=>t('ask.is_processed'),
|
||||
'is_referral'=>t('ask.is_referral'),
|
||||
'is_published'=>t('ask.is_published')} %>
|
||||
<%= tmp[@ask_question.situation] %>
|
||||
<%= f.select :situation, [
|
||||
[t('ask.is_waiting'), 'is_waiting'],
|
||||
[t('ask.is_processed'), 'is_processed'],
|
||||
[t('ask.is_referral'), 'is_referral'],
|
||||
[t('ask.is_published'),'is_published']
|
||||
] %>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
Loading…
Reference in New Issue