Sha256: b32d5f49761cd463e9d14477cac28aa89eef641d1800fcce94c2e1603343932d

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

<%= render layout: "/layouts/#{Rails.application.config.apidae_layout}" do |styles| %>
    <div id="apidae_header" class="<%= styles[:header] %>">
      <h1 class="<%= styles[:h1] %>">Apidae - Objets touristiques</h1>
    </div>
    <div id="apidae_dashboard" class="<%= styles[:wrapper] %>">
      <div id="apidae_imports_panel" class="<%= styles[:body] %>">
        <table id="apidae_objects" class="<%= styles[:table] %>">
          <thead>
          <tr>
            <th>Titre</th>
            <th>Identifiant</th>
            <th>Type</th>
            <th>Mise à jour</th>
          </tr>
          </thead>

          <tbody>
          <% @objects.each do |object| %>
              <tr>
                <td><%= object.title %></td>
                <td><%= object.apidae_id %></td>
                <td><%= object.apidae_type %></td>
                <td><%= object.updated_at.strftime('Le %d/%m/%Y à %H:%M') if object.updated_at %></td>
              </tr>
          <% end %>
          </tbody>
        </table>
      </div>
    </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
apidae-0.1.6 app/views/apidae/objects/index.html.erb
apidae-0.1.5 app/views/apidae/objects/index.html.erb
apidae-0.1.4 app/views/apidae/objects/index.html.erb
apidae-0.1.3 app/views/apidae/objects/index.html.erb