Skip to content
Commits on Sep 14, 2012
  1. @lest

    update CHANGELOG

    lest committed
    Add entry about 2459411 and
    95be790.
Commits on May 30, 2012
  1. @lest

    accept a block in button_to helper

    lest committed
    Make possible to use a block in button_to helper if button text is hard
    to fit into the name parameter, e.g.:
    
        <%= button_to [:make_happy, @user] do %>
          Make happy <strong><%= @user.name %></strong>
        <% end %>
        # => "<form method="post" action="/users/1/make_happy" class="button_to">
        #      <div>
        #        <button type="submit">
        #          Make happy <strong>Name</strong>
        #        </button>
        #      </div>
        #    </form>"
Commits on Nov 22, 2011
  1. @lest
Commits on Nov 17, 2011
  1. @lest @jonleighton
Something went wrong with that request. Please try again.