PHP Classes

File: resources/views/users/add.blade.php

Recommend this page to a friend!
  Classes of adriano123456   Budget System   resources/views/users/add.blade.php   Download  
File: resources/views/users/add.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Budget System
Elaborate budgets for purchases of products
Author: By
Last change:
Date: 4 months ago
Size: 4,023 bytes
 

Contents

Class file image Download
@extends('layouts.app')

@section('title', 'Dashboard')

@section('content')
<div class="container-fluid" id="content">

    @include('layouts.navigation')

    <div id="main">
        <div class="container-fluid">

            <div class="row-fluid">
                <div class="span12">
                    <div class="box box-bordered box-color">
                        <div class="box-title">
                            <h3><i class="icon-th-list"></i> {{$title}}</h3>
                        </div>
                        <div class="box-content nopadding">
                            <form action="{{route('usuarios.store')}}" method="POST" class='form-horizontal form-bordered'>
                            @csrf
                                <div class="control-group">
                                    <label for="name" class="control-label">Nome completo</label>
                                    <div class="controls">
                                        <input type="text" name="name" id="name" placeholder="Insira o nome" class="input-xlarge" required>
                                        @error('name')
                                        <div class="alert-danger input-xlarge">{{$message}}</div>
                                        @enderror
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="email" class="control-label">E-mail</label>
                                    <div class="controls">
                                        <input type="text" name="email" id="email" placeholder="name@provider.domain" class="input-xlarge" required>
                                        @error('email')
                                        <div class="alert-danger input-xlarge">{{$message}}</div>
                                        @enderror
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="password" class="control-label">Senha</label>
                                    <div class="controls">
                                        <input type="password" name="password" id="password" placeholder="Insira uma senha" class="input-xlarge" required>
                                        @error('password')
                                        <div class="alert-danger input-xlarge">{{$message}}</div>
                                        @enderror
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label for="level" class="control-label">Nível</label>
                                    <div class="controls">
                                        <select name="level" id="level" class='select2-me input-xlarge' required>
                                            @foreach($levels as $id => $level)
                                            <option value="{{$id}}">{{$level}}</option>
                                            @endforeach
                                        </select>
                                    </div>
                                </div>
                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary">Salvar</button>
                                    <a href="{{route('usuarios.index')}}" class="btn">Cancelar</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>

</div>

<script>

(function( $ ) {
    $(function() {
        $('.money').mask('#.##0,00', {reverse: true});
        $('.decimal').mask('##########.##', {reverse: true});
    });
})(jQuery);

</script>

@endsection