`A very brief explanation of this code might help this guide because it is the only piece of non-trivial code I could find without an explanation.
<%
unless
tag_form.object.nil
? || tag_form.object.new_record? ``%>
The code following the unless is executed (rendering the ‘delete check box’) ‘unless’ either the tag_form is nil a tag_form is an object waiting to be written to the database. Obviously we don’t want to delete something before it has been saved in the first place.
````<%
unless
tag_form.object.nil
? || tag_form.object.new_record? %>` `
<div` `class
="field"
>`
``<%=
tag_form.label :_destroy, ``'Remove:'
%>
``<%=
tag_form.check_box :_destroy ``%>
``</``div``>
``<%
end
%>