unepwcmc/SAPI

View on GitHub
app/views/admin/events/index.html.erb

Summary

Maintainability
Test Coverage
<div class="admin-header">
  <h3>Events</h3>
  <div class="action-buttons">
    <%= admin_add_new_button(
      :resource => 'event',
      :href => new_admin_event_url,
      :"data-toggle" => nil,
      :role => nil,
      :remote => true
    ) %>
  </div>
</div>

<%= admin_new_modal{ '' } %>

<%= admin_table %>

<%= paginate collection %>