Thanks for the insight; though it half-solved my problem.

To get rid of the *PROFILE* extra fields, I added 
$("#id_userprofile-__prefix__-last_modified_0").parent().parent().parent().parent().remove();

Seems ugly, thought....

On Friday, September 11, 2015 at 2:30:41 AM UTC+9, Ryne Everett wrote:
>
> This is fixed in master. See 
> https://github.com/stephenmcd/mezzanine/issues/1366.
>
> On Thu, Sep 10, 2015 at 2:55 AM, Andrey inte <[email protected] 
> <javascript:>> wrote:
>
>>
>> I have a duplicated set of fields in user admin form.
>>
>> The formset is empty; nothing happens if I enter any information in the 
>> duplicated (lower) set of fields.
>>
>> The duplicated set of fields has '__prefix__' with their field attributes:
>>
>>
>> <input class="vDateField" id="id_userprofile-__prefix__-last_modified_0" 
>> name="userprofile-__prefix__-last_modified_0" size="10" type="text" 
>> value="2015-09-10">
>>
>>
>> I see this is rendered by *profile_inline.html; I guess *{{ 
>> inline_admin_formset.extra_forms }} has to do with this duplication?
>> How to get rid of this?
>>
>>
>> {% load i18n %}<style>{% if not change %}#user_form p, .aligned {display:
>> none;}.wide {display:block;}{% endif %}.profile fieldset {border-width:0
>> ;}</style><fieldset class="module aligned profile"> <h2>{% trans 
>> "Profile information" %}</h2> {{ 
>> inline_admin_formset.formset.management_form }} {{ 
>> inline_admin_formset.formset.non_form_errors }} <div class="items"> {% 
>> for inline_admin_form in inline_admin_formset %} <div class="{% if 
>> inline_admin_form.original or inline_admin_form.show_url %} has_original{% 
>> endif %}"> {% if inline_admin_form.form.non_field_errors %}{{ 
>> inline_admin_form.form.non_field_errors }}{% endif %} {% for fieldset in 
>> inline_admin_form %} {% include "admin/includes/fieldset.html" %} {% 
>> endfor %} {{ inline_admin_form.pk_field.field }} {{ 
>> inline_admin_form.fk_field.field }} </div> {% endfor %} {{ 
>> inline_admin_formset.extra_forms }} </div></fieldset>
>>
>> Privacy Policy 
>> <https://intetour.com/blog/o-kompanii/zashchita-personalnykh-dannykh/> | 
>> Terms 
>> of Service <https://intetour.com/blog/o-kompanii/terms-of-use/> | 
>> Cancellations 
>> & amendments policy 
>> <https://intetour.com/blog/o-kompanii/cancellations-amendments-policy/> 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
-- 
Privacy Policy 
<https://intetour.com/blog/o-kompanii/zashchita-personalnykh-dannykh/> | Terms 
of Service <https://intetour.com/blog/o-kompanii/terms-of-use/> | Cancellations 
& amendments policy 
<https://intetour.com/blog/o-kompanii/cancellations-amendments-policy/>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to