Skip to content

Instantly share code, notes, and snippets.

@josevalim
Created March 4, 2009 10:58
Show Gist options
  • Select an option

  • Save josevalim/73796 to your computer and use it in GitHub Desktop.

Select an option

Save josevalim/73796 to your computer and use it in GitHub Desktop.
# What I'm doing is:
<% form.buttons do %>
<%= pretty_positive_button 'Create user' %>
<%= pretty_negative_button 'Cancel' %>
<% end %>
# What I would like to do is:
<%= form.buttons :pretty_positive_button, :pretty_negative_button %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment