%= error_messages_for 'entry' %>
Name <%= text_field 'entry', 'name' %>
Date <%= datetime_select 'entry', 'date' %>
Memo <%= text_area 'entry', 'memo' %>
Amount <%= text_field 'entry', 'amount' %>
Approved <%= check_box 'entry', 'approved' %>