<script type="text/html" charset="utf-8" id="image-gallery-view-template">
<div class="image-gallery-view-template">
- <div class="image-gallery-panel-header">
+ <div class="image-gallery-header">
<p>
<button type="button" class="image-gallery-prev-button">Previous</button>
<input type="input" class="image-gallery-current-page" />
</div>
<div>
- <% for (page in panels) { %>
- <p>strona</p>
+ <% for(var i=0; i < model.data.length; i++) { %>
+ <p class="image-gallery-page-container"><%= model.data[i] %></p>
<% }; %>
</div>