From: Alexander Meteiko Date: Mon, 19 Apr 2010 12:24:42 +0000 (+0300) Subject: inlines input_hidden has display:none X-Git-Tag: 0.5~358 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=febe1200a83f0d5392a4fcfed12ab447d981ebc2;p=ipf.git inlines input_hidden has display:none --- diff --git a/ipf/admin/templates/admin/change.html b/ipf/admin/templates/admin/change.html index b0ac282..bf273f2 100644 --- a/ipf/admin/templates/admin/change.html +++ b/ipf/admin/templates/admin/change.html @@ -9,9 +9,9 @@ @@ -19,56 +19,56 @@ $(document).ready(function(){

{$page_title}

-
- -
+ + +
{if $form.errors}

Please correct the error below.

{/if} -
- {$form.render_admin()} -
- {if $inlineInstances} - {foreach $inlineInstances as $inline} +
+ {$form.render_admin()} +
+ {if $inlineInstances} + {foreach $inlineInstances as $inline}
-
+ {if !$field.widget.is_hidden}{$formset.field($fieldname).label}{/if} + {/foreach} + + + + {/if} + + {foreach $formset.fields as $fieldname=>$field} + {$formset.field($fieldname).fieldErrors()}{$formset.field($fieldname)|safe} + {/foreach} + + {/foreach} + + + +
+
{/foreach} - {/if} -
- {if ($mode=='change') && (array_search('delete',$perms)!==false)}

Delete

{/if} - {if ($mode=='change') && (array_search('change',$perms)!==false)}{/if} + {/if} +
+ {if ($mode=='change') && (array_search('delete',$perms)!==false)}

Delete

{/if} + {if ($mode=='change') && (array_search('change',$perms)!==false)}{/if} {if ($mode=='add') && (array_search('add',$perms)!==false)}{/if} -
-
-
+
+
+ -
+
{/block}