@extends('layouts.app')

@section('content')
<div class="panel panel-default">
    <div class="panel-heading">edit nominet price per year</div>


    <div class="panel-body">
        @if ($errors->any())
            <div class="alert alert-danger">
                <ul>
                    @foreach ($errors->all() as $error)
                        <li>{{ $error }}</li>
                    @endforeach
                </ul>
            </div><br />
        @endif
        
           <form method="post" class="edit_billing_form" action="{{ route('domains.update_nominet_price')}}" >
            <input type="hidden" value="{{csrf_token()}}" name="_token" />
            <button type="submit" class="btn btn-primary">Save</button>
                <div class="form-group">
                    <label for="title">Price for annualy renewal:</label>
                    <input type="text" class="form-control" name="price" value="{{$price->price}}"/>
                </div> 
               
                
                
                 <button type="submit" class="btn btn-primary">Save</button>
             </form>
    </div>
</div>
@endsection