c4a19f279b
In particular it was noticed that edbob has been configuring FormAlchemy all this time, whoops. That's still partially the case but now at least it's explicit.
22 lines
582 B
Mako
22 lines
582 B
Mako
## -*- coding: utf-8 -*-
|
|
<%inherit file="/form.mako" />
|
|
|
|
<%def name="title()">${"New "+form.pretty_name if form.creating else form.pretty_name+' : '+capture(self.model_title)}</%def>
|
|
|
|
<%def name="model_title()">${h.literal(unicode(form.fieldset.model))}</%def>
|
|
|
|
<%def name="head_tags()">
|
|
${parent.head_tags()}
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('a.delete').click(function() {
|
|
if (! confirm("Do you really wish to delete this object?")) {
|
|
return false;
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</%def>
|
|
|
|
${parent.body()}
|
|
|