Skip to content

Instantly share code, notes, and snippets.

View lbriones's full-sized avatar

Luis Briones lbriones

  • Santiago, Chile
View GitHub Profile
@YerkoPalma
YerkoPalma / new.html.erb
Last active February 25, 2016 17:22
Actualización de dropdown de comunas en base a regiones en rails (sin ajax)
<%= form_for(:user, :url => {:action => 'create', :controller=>"users"}, :class => "col s12") do |f| %>
<% cities_array = @regiones.map { |city| [city[:nombre], city[:codigo]] } %>
<%= f.select( :region, options_for_select(cities_array), {}, {}) %>
<%= f.label :region %>
<%= f.select(:comuna, [], {}, {}) %>
<%= f.label :comuna %>
<button type="submit" name="action">Siguiente</button>
@lbriones
lbriones / Contract Killer 3.md
Created August 7, 2015 22:09
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post