<% provide(:title, 'User Enrolment') %>
<div id="indexcontainer">
  <h1> User Enrolment </h1>

  <div class="stdcontainer">

    <%= link_to 'New Enrolment', new_enrolment_path, class: 'btn btn-default' %>

    <%= datagrid_form_for @enrolments_grid, url: enrolments_path %>
    <%= datagrid_table(@enrolments_grid) %>
    <%= will_paginate @enrolments_grid.assets %>

  </div>
</div>

<% provide(:title, 'User Enrolment') %>
<div id="indexcontainer">
  <h1> User Enrolment </h1>

  <div class="stdcontainer">
    <%= datagrid_form_for @enrolments_grid, url: enrolments_path %>

    <%= link_to "<i class='glyphicon glyphicon-plus'></i> New".html_safe, new_enrolment_path, class: 'btn btn-default new-btn' %>

    <%= datagrid_table(@enrolments_grid) %>
    <%= will_paginate @enrolments_grid.assets %>

  </div>
</div>

Update new button for enrolment.
Update new button for enrolment.
