add missing erb tag

This commit is contained in:
EricTYL 2019-08-19 17:27:01 +08:00
parent 0a832d6dff
commit e045ba4037
1 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@
<a class="btn btn-primary" href="<%= new_admin_ad_image_path(:page => params[:page], :banner_id => @banner.id) %>">
<%= t("ad_banner.add") %>
</a>
<a class="btn btn-info" href="#sort-images-modal" data-toggle="modal">t("ad_banner.order")</a>
<a class="btn btn-info" href="#sort-images-modal" data-toggle="modal"><%= t("ad_banner.order") %></a>
</div>
<%= content_tag :div, paginate(@images), class: "pagination pagination-centered" %>
</div>
@ -99,7 +99,7 @@
<div id="sort-images-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>t("ad_banner.order_images")</h3>
<h3><%= t("ad_banner.order_images") %></h3>
</div>
<div class="modal-body">
<ul class="order-list">
@ -113,8 +113,8 @@
</ul>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">t("ad_banner.close")</button>
<button class="btn btn-primary" id="save-image-order-btn">t("ad_banner.save_changes")</button>
<button class="btn" data-dismiss="modal" aria-hidden="true"><%= t("ad_banner.close") %></button>
<button class="btn btn-primary" id="save-image-order-btn"><%= t("ad_banner.save_changes") %></button>
</div>
</div>
<% end %>