Skip to content

Instantly share code, notes, and snippets.

View Mardem's full-sized avatar
🏠
Working from home

Marden Cavalcante Mardem

🏠
Working from home
View GitHub Profile
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1">
</div>
@Mardem
Mardem / BankArrayTrait.php
Last active May 9, 2019 18:08
Trait com lista de bancos brasileiros no formato de array, baseado em https://gist.github.com/peuweb/8360246
<?php
namespace App\Traits;
trait BankArrayTrait
{
/**
* Lista de bancos brasileiros em array. Modo de usar:
*
* array_rand($this->getBanks());