edit.edge

21 lines | 764 B Blame History Raw Download
@layout('layouts.main')

@section('content')
<form method="POST" action="{{ route('/themes.update', {id: theme.id}) + '?_method=PUT'}}">
  {{ csrfField() }}
  <div class="field">
    <label class="label">Theme Name</label>
    <input class="input" type="text" name="name" placeholder="Admin boundaries" value="{{ theme.name }}" />
    {{ elIf('<span class="has-text-danger">$self</span>', getErrorFor('name'), hasErrorFor('name')) }}
  </div>

  <div class="field is-grouped">
      <div class="control">
        <button class="button is-link ss-submit" type="submit">Modify</button>
      </div>
      <div class="control">
      <button class="button is-text"><a href="{{ route('/themes.index') }}">Cancel</a></button>
      </div>
    </div>
</form>
@endsection