<% ask = data['ask_question'] %> <%= stylesheet_link_tag "custom_field" %>
<%= label_tag nil,t('category'), :class=> 'control-label' %>
<%= label_tag nil,(ask.category.title rescue nil), class: 'control-label' %>
<%= label_tag nil,t('title'), :class=> 'control-label' %>
<%= label_tag nil,ask.title, :class=> 'control-label' %>
<%= ask_setting.custom_fields.collect do |k,v| required_pattern = v['required']=='true' ? '*' : '' "
#{show_on_front(k,v,ask,true)}
" end.join.html_safe %>
<%= label_tag nil,t('mongoid.attributes.ask_question.reply'), :class=> 'control-label' %>
<%= ask.reply %>