暂无描述

rubric_list.blade.php 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @extends('layouts.master')
  2. @section('navigation')
  3. @include('local.managers.admins._navigation')
  4. @stop
  5. @section('main')
  6. <div class="row">
  7. <table class="table table-striped datatable">
  8. <thead>
  9. <tr>
  10. <th>Name</th>
  11. <th>School</th>
  12. </tr>
  13. </thead>
  14. <tfoot>
  15. <tr class="column-search">
  16. <td><input class="column-search-bar form-control" type="text" placeholder="Buscar" aria-label="search rubric name"/></td>
  17. <td><select class="column-search-select form-control" aria-label="select associated school"><option value=""></option></select></td>
  18. </tr>
  19. </tfoot>
  20. <tbody>
  21. @foreach($templates as $template)
  22. <tr>
  23. <td>{{ HTML::linkAction('TemplatesController@show', $template->name, array($template->id)) }}</td>
  24. <td>
  25. @if($template->school)
  26. {{$template->school->name}}
  27. @else
  28. All (global)
  29. @endif
  30. </td>
  31. </tr>
  32. @endforeach
  33. </tbody>
  34. </table>
  35. </div>
  36. @stop
  37. @section('included-js')
  38. <!-- Datatables -->
  39. @include('global._datatables_js')
  40. @stop