Skip to content

Instantly share code, notes, and snippets.

@extends('template')
@section('main')
<div class="container">
<h1>Atualização de cliente</h1>
<hr>
@if(session('success'))
<div class="alert alert-success">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
@extends('template')
@section('main')
<div class="container">
<h1>Novo cliente</h1>
<hr>
<form action="" method="post">
<div class="row">
@extends('template')
@section('main')
<div class="container">
<h1>Clientes cadastrados</h1>
<hr>
<table class="table table-bordered">
<thead>
<tr>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<base href="{{ URL::to('/') }}">
<title>Gerenciamento de clientes</title>
CREATE TABLE IF NOT EXISTS `clients` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(100) DEFAULT NULL,
`last_name` varchar(100) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL,
`gender` enum('M','F') DEFAULT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;