tippspiel/pfosten/resources/views/rounds/editname.blade.php

27 lines
715 B
PHP
Raw Normal View History

@extends('layouts.layout')
@section('content')
<div class="col-md-8">
<h1>Name der Runde:</h1>
<form method="POST" action="/rounds/storename">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" value="{{ $round->name }}" required>
<input type="hidden" name="round_id" value="{{ $round->id }}">
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Ok</button>
</div>
</form>
</div>
@endsection