add missing erb tag
This commit is contained in:
parent
0a832d6dff
commit
e045ba4037
|
@ -91,7 +91,7 @@
|
||||||
<a class="btn btn-primary" href="<%= new_admin_ad_image_path(:page => params[:page], :banner_id => @banner.id) %>">
|
<a class="btn btn-primary" href="<%= new_admin_ad_image_path(:page => params[:page], :banner_id => @banner.id) %>">
|
||||||
<%= t("ad_banner.add") %>
|
<%= t("ad_banner.add") %>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
<%= content_tag :div, paginate(@images), class: "pagination pagination-centered" %>
|
<%= content_tag :div, paginate(@images), class: "pagination pagination-centered" %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
<div id="sort-images-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
|
<div id="sort-images-modal" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<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>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<ul class="order-list">
|
<ul class="order-list">
|
||||||
|
@ -113,8 +113,8 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="btn" data-dismiss="modal" aria-hidden="true">t("ad_banner.close")</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>
|
<button class="btn btn-primary" id="save-image-order-btn"><%= t("ad_banner.save_changes") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue