index.edge

37 lines | 867 B Blame History Raw Download
@layout('layouts.main')

@section('content')

@each(theme in themes)
<section class="box">
<h2 class="is-size-2">{{theme.name}}</h2>

@each(element in theme.elements)
  <section class="box">
  <h3 class="is-size-3">{{element.name}}</h3>
  @each(submission in element.submissions)
    <table class="table">
      <thead class="thead">
        <tr>
          <th>Name</th>
          <th>Steward</th>
          <th>Date Created</th>
          <th>Status</th>
        </tr>
      </thead>
      <tbody class="tbody">
        <tr>
          <td>{{submission.name}}</td>
          <td>{{submission.steward.contact.first_name}} {{submission.steward.contact.last_name}}</td>
          <td>{{submission.created_at}}</td>
          <td>{{submission.status.status}}</td>
        </tr>
      </tbody>
    </table>
  @endeach
  </section>
@endeach
</section>
@endeach

@endsection