Thanks James. I changed the rendering to move the fieldset inside the form tag and it works. Thank you so much
On Wednesday, 21 October 2015 10:58:31 UTC-4, sushovan majumdar wrote: > > Hi James. > I'm copying the rendered HTML from browser view source: > > <body class=""> > <div id="container"> > <div id="header"> > <div id="branding"> > > > > </div> > > <div id="main-menu"> > <a href="/agent_config" title="Agent configuration">Configuration</a> > <a href="/agent_status" title="Agent connectivity status">Status</a> > <a href="/agent_testing" title="Agent alert rule testing">Testing</a> > </div> > <div id="user-tools"> > > Welcome, > <strong>Sushovan</strong>. > > > <a href="/admin/">Admin Editor</a> > > <a href="/logout">Logout</a> > > > </div> > > </div> > > <div id="content" class="colM"> > > > > <div id="content-main"> > <h3 class="subhead">Host group: <b>hostmon-relay__development__app</b> > Profile: <b>solaris_clone</b> > </h3> > <div class="text-right"> > > <form method="post" action="/agent_config/hostgroup/1160/profile/54"> > <input type="hidden" name="csrfmiddlewaretoken" value= > "o0IELXj2bHKlofgXI7VTUGMMhimpc2Wu"> > <input class="btn btn-default" type="submit" value="Save" name="Save" > default=""> > <input class="btn btn-default" type="submit" value="Deploy" name="Deploy" > > > <a href="/agent_config/hostgroup/1160"><input class="btn btn-default" > type="button" value="Cancel"></a> > > </form></div> > > > > > <fieldset> > > <div class="panel panel-default"> > <div class="panel-heading"> > <h4 class="panel-title"> > <a class="accordion-toggle" data-toggle="collapse" data-parent="#" href= > "#profile_kvp" aria-expanded="true">Optional Key, Value Pairs Added to > All Types</a> </h4> </div> > <div id="profile_kvp" class="panel-collapse collapse in" aria-expanded= > "true"> > <div class="panel-body"> > <div> > <!-- <legend>Optional Key, Value Pairs Added to All Types</legend> --> > > <div> > > > > <input id="id_profile_kvp-TOTAL_FORMS" name="profile_kvp-TOTAL_FORMS" type > ="hidden" value="4"> <input id="id_profile_kvp-INITIAL_FORMS" name= > "profile_kvp-INITIAL_FORMS" type="hidden" value="1"> <input id= > "id_profile_kvp-MIN_NUM_FORMS" name="profile_kvp-MIN_NUM_FORMS" type= > "hidden" value="0"> <input id="id_profile_kvp-MAX_NUM_FORMS" name= > "profile_kvp-MAX_NUM_FORMS" type="hidden" value="1000"> > > > </div> > <div id="profile_kvp-items-form-container"> > > <div id="profile_kvp-0" class="profile_kvp-form-container"> > > > > <div> <div class="row"> <div class="col-md-6"> <div id= > "div_id_profile_kvp-0-key" class="form-group"> <div class="controls "> > <input class="textinput textInput form-control" id="id_profile_kvp-0-key" > maxlength="255" name="profile_kvp-0-key" type="text" value="1"> </div> > </div> </div> > <div class="col-md-4"> <div id="div_id_profile_kvp-0-value" class= > "form-group"> <div class="controls "> <input class="textinput textInput > form-control" id="id_profile_kvp-0-value" maxlength="255" name= > "profile_kvp-0-value" type="text" value="1"> </div> </div> </div> > <div class="col-md-1"> <div class="form-group"> <div id= > "div_id_profile_kvp-0-DELETE" class="form-group"> <div class="controls "> > <input > ... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bfe14e45-1cd3-4027-afde-2b1e8b26dbdd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.