Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Create table filter partial #77
Instead of using the same (or slightly varied) markup in every filterable table in every app, use a common partial provided by the admin gem.
<%= render partial: 'govuk_admin_template/table_filter' %>
Use within table:
<table class="table table-bordered table-hover" data-module="filterable-table"> <thead> <tr class="table-header"> … </tr> <%= render partial: 'govuk_admin_template/table_filter' %> </thead> … </table>