Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Select com estados brasileiros
<select name="uf" id="uf" class="input input-uf" required>
<option value="">UF</option>
<option value="AC" {{ Input::old('city') == 'AC' ? 'selected="selected"' : null }}>AC</option>
<option value="AL" {{ Input::old('city') == 'AL' ? 'selected="selected"' : null }}>AL</option>
<option value="AP" {{ Input::old('city') == 'AP' ? 'selected="selected"' : null }}>AP</option>
<option value="AM" {{ Input::old('city') == 'AM' ? 'selected="selected"' : null }}>AM</option>
<option value="BA" {{ Input::old('city') == 'BA' ? 'selected="selected"' : null }}>BA</option>
<option value="CE" {{ Input::old('city') == 'CE' ? 'selected="selected"' : null }}>CE</option>
<option value="DF" {{ Input::old('city') == 'DF' ? 'selected="selected"' : null }}>DF</option>
<option value="ES" {{ Input::old('city') == 'ES' ? 'selected="selected"' : null }}>ES</option>
<option value="GO" {{ Input::old('city') == 'GO' ? 'selected="selected"' : null }}>GO</option>
<option value="MA" {{ Input::old('city') == 'MA' ? 'selected="selected"' : null }}>MA</option>
<option value="MT" {{ Input::old('city') == 'MT' ? 'selected="selected"' : null }}>MT</option>
<option value="MS" {{ Input::old('city') == 'MS' ? 'selected="selected"' : null }}>MS</option>
<option value="MG" {{ Input::old('city') == 'MG' ? 'selected="selected"' : null }}>MG</option>
<option value="PA" {{ Input::old('city') == 'PA' ? 'selected="selected"' : null }}>PA</option>
<option value="PB" {{ Input::old('city') == 'PB' ? 'selected="selected"' : null }}>PB</option>
<option value="PR" {{ Input::old('city') == 'PR' ? 'selected="selected"' : null }}>PR</option>
<option value="PE" {{ Input::old('city') == 'PE' ? 'selected="selected"' : null }}>PE</option>
<option value="PI" {{ Input::old('city') == 'PI' ? 'selected="selected"' : null }}>PI</option>
<option value="RJ" {{ Input::old('city') == 'RJ' ? 'selected="selected"' : null }}>RJ</option>
<option value="RN" {{ Input::old('city') == 'RN' ? 'selected="selected"' : null }}>RN</option>
<option value="RS" {{ Input::old('city') == 'RS' ? 'selected="selected"' : null }}>RS</option>
<option value="RO" {{ Input::old('city') == 'RO' ? 'selected="selected"' : null }}>RO</option>
<option value="RR" {{ Input::old('city') == 'RR' ? 'selected="selected"' : null }}>RR</option>
<option value="SC" {{ Input::old('city') == 'SC' ? 'selected="selected"' : null }}>SC</option>
<option value="SP" {{ Input::old('city') == 'SP' ? 'selected="selected"' : null }}>SP</option>
<option value="SE" {{ Input::old('city') == 'SE' ? 'selected="selected"' : null }}>SE</option>
<option value="TO" {{ Input::old('city') == 'TO' ? 'selected="selected"' : null }}>TO</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.