olympiamanagement/app/views/admin/olympiamanagements/error_message.html.erb

24 lines
466 B
Plaintext

<h2>
<%if(@msg_title.nil? rescue true)%>
<%= (I18n.locale.to_s == "zh_tw") ? '錯誤提示' : 'Error message' %>
<% else %>
<%= @msg_title %>
<% end %>
</h2>
<ul>
<% @error_msg.each do |a| %>
<li class="error_msg"><%= a %></li>
<% end %>
</ul>
<input name="goback" type="button" onclick="window.history.go(-1);" onkeypress="window.history.go(-1);" value="<%=t('back')%>">
<style type="text/css">
li.error_msg{
font-size: 1.5em;
}
</style>