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

24 lines
466 B
Plaintext
Raw Normal View History

2020-02-20 09:49:29 +00:00
<h2>
<%if(@msg_title.nil? rescue true)%>
<%= (I18n.locale.to_s == "zh_tw") ? '錯誤提示' : 'Error message' %>
<% else %>
<%= @msg_title %>
<% end %>
</h2>
2020-02-05 13:44:49 +00:00
<ul>
<% @error_msg.each do |a| %>
2020-02-20 09:49:29 +00:00
<li class="error_msg"><%= a %></li>
2020-02-05 13:44:49 +00:00
<% end %>
</ul>
2020-02-20 09:49:29 +00:00
<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>