<div id="<%= dom_id expense %>"> <p> <strong>Name:</strong> <%= expense.name %> </p> <p> <strong>Amount:</strong> <%= expense.amount %> </p> <p> <strong>Pricing type:</strong> <%= expense.pricing_type %> </p> </div>