diff --git a/app/views/admin/asks/_form.html.erb b/app/views/admin/asks/_form.html.erb
index ddbebc3..a97e969 100644
--- a/app/views/admin/asks/_form.html.erb
+++ b/app/views/admin/asks/_form.html.erb
@@ -83,11 +83,12 @@
<%= 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']
+ ] %>
|