Skip to content

Instantly share code, notes, and snippets.

@TXDynamics
Created June 6, 2013 00:27
Show Gist options
  • Save TXDynamics/5718426 to your computer and use it in GitHub Desktop.
Save TXDynamics/5718426 to your computer and use it in GitHub Desktop.
Ruby-Rails: Rest In Place Ajax Ruby Updater update field
<span id="fund_<%= fund.id %>_MARKETING_CODE" class="rest-in-place" data-url="/funds/<%= fund.id %>" data-object="fund" data-attribute="MARKETING_CODE">
<%= fund.MARKETING_CODE.blank? ? 'Click here to edit' : fund.MARKETING_CODE %>
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment