% content_for :page_specific_css do %> <%= stylesheet_link_tag "lib/main-forms" %> <%= stylesheet_link_tag "lib/main-list" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/module-area" %> <% end %>
<%= AskQuestion.human_attribute_name(:name) %>:<%= @ask_question.name %> | <%= AskQuestion.human_attribute_name(:identity) %>: <% Tag.where({:id => @ask_question[:identity]}).each do |tag| %> <%= tag.name %> <% end %> | <%= AskQuestion.human_attribute_name(:mail) %>:<%= @ask_question.mail %> | <%= AskQuestion.human_attribute_name(:phone) %>:<%= @ask_question.phone %> | <%= AskQuestion.human_attribute_name(:fax) %>:<%= @ask_question.fax %> |
<%= AskQuestion.human_attribute_name(:title) %>:<%= @ask_question.title %> | ||||
<%= AskQuestion.human_attribute_name(:content) %>: <%= @ask_question.content.gsub(/[(\n)(\r)]/, "\n" => " ", "\r" => "" ).html_safe %> |
||||
<%= f.label :reply %>
<%= f.text_area :reply, rows: 10, style: 'width: 500px' %> |
||||
<%= f.label :comment %>
<%= f.text_field :comment, style: 'width: 500px' %> |
||||
<%= f.label t('situation') %> <%= f.select :situation, [ [t('is_waiting'), 'is_waiting'], [t('is_processed'), 'is_processed'], [t('is_referral'), 'is_referral'] ] %> | ||||
<%= f.label :send_email %><%= f.radio_button :send_email, 1, checked: @ask_question.send_email? %><%= t('ask.yes') %> <%= f.radio_button :send_email, 0, checked: !@ask_question.send_email? %><%= t('ask.no') %> |