fix error

This commit is contained in:
chiu 2021-09-17 14:20:02 +08:00
parent 3feb7b5dd6
commit c0a4bb6b51
2 changed files with 4 additions and 3 deletions

View File

@ -93,6 +93,7 @@
<%=
content_tag :div, class: "bottomnav clearfix" do
content_tag :div, paginate(@event_news), class: "pagination pagination-centered"
content_tag(:div, paginate(@bulletins), class: "pagination pagination-centered") +
content_tag(:div, link_to(t(:new_),new_event_news_path, :class=>"btn btn-primary"), class: "pull-right")
end
%>
%>

View File

@ -5,7 +5,7 @@
<%= render 'layouts/delete_modal', delete_options: @delete_options %>
<% if EventNewsSetting.is_pro? && user_can_approve? %>
<% if user_can_approve? %>
<%= render :partial=> "approval_modal" %>
<script type="text/javascript">