This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
|
<% if @ask_question.errors.empty? %>
|
|
alert('<%= t('ask.ask_question_success') %>');
|
|
<% else %>
|
|
alert('<%= @ask_question.errors.full_messages.join('\n') %>');
|
|
<% end %>
|