%% html = capture do %>
<%%= l(:label_<%= singular_table_name %>) %>
<% attributes.each do |attribute| -%>
<%= attribute.human_name %>:
<%%= @<%= singular_table_name %>.<%= attribute.name %> %>
<% end -%>
<%%= submit_tag l(:button_cancel), <%= key_value :onclick, '"hideModal(this);"' %>, <%= key_value :type, '"button"' %> %>
<%% end %>
$("#ajax-modal").html("<%%= j html %>").find(".box").css("z-index", "auto");
showModal("ajax-modal", "600px");