@layout('../../layouts/dashboard')
@set('title', 'Create terms')
@section('body')

<div class="grid-menu">
  <form method="POST" id="loginForm" action="{{ route('auth.admin.create.terms') }}">
    @include('../../partials/dashboard/messages')
    {{  csrfField() }}
          <table class="table table-hover dataTable table-striped width-full" id="gaTable">
              <thead>
                  <tr>
                      <th style="text-align:center;" colspan="3">
                         <h2>Terms</h2>
                      </th>
                  </tr>
              </thead>
              <tbody>
                      <tr>
                          <td colspan="12">
                              <span>
                                  <div id="emailTypeBlock">
                                      <div class="input-container">
                                          <label class="floating-label">Content</label>
                                          <textarea style="background-color: rgba(0, 0, 0, 0.4); border: none;" type="text" class="form-control empty" name="content">
                                          </textarea>
                                          @if(flashMessages.has('errors.content'))
                                            <small class="text-danger">{{ flashMessages.get('errors.content') }}</small>
                                          @endif
                                      </div>
                                  </div>
                              </span>
                          </td>
                      </tr>
                      <tr>
                          <td colspan="3">
                              <div class="form-wrapper" style="border: none;text-align:center;">
                                  <button type="submit" class="btn-default">
                                      Criar
                                  </button>
                              </div>
                          </td>
                      </tr>
              </tbody>
          </table>
                  </form>
  </div>
@end
