Hi Sandeep, Edit Subnet is a workflow that uses a _workflow.html to generate the HTML.
The form attribute is generated by looking up workflow.attr_string in https://github.com/openstack/horizon/blob/5ef14e17961a699e5980b98aa7edb2a95a905c1b/horizon/templates/horizon/common/_workflow.html#L6 You can specify the attr_string in the workflow class provided by Matthias and the additional form attribute should be rendered in the form. HTH, Lin On Mon, Feb 1, 2016 at 4:40 AM, Sandeep Makhija < sandeep.makh...@nectechnologies.in> wrote: > Hi Matthias, > > Thanks for your reply. > > As mentioned, I need to change the <form> 'action' attribute of the 'Edit > Subnet' button.\ > > > Regards, > Sandeep Makhija > > -----Original Message----- > From: Matthias Runge [mailto:mru...@redhat.com] > Sent: Monday, February 01, 2016 6:03 PM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] [Horizon] Django > > On Mon, Feb 01, 2016 at 10:56:14AM +0000, Sandeep Makhija wrote: > > Hi, > > > > I have been trying to fix a bug in horizon but I am a beginner in Django > and couldn't get my way through this code. > > > > Could somebody please help me with it? Below given are the details of > what I am looking for. > > Since you did not describe, what you would like to change, it's a bit hard > to set you on track. > > Looking at that image, I assume, you would like to change the subnet > workflow, which is defined in subnets/workflows.py > > > https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L457 > > > Matthias > -- > Matthias Runge <mru...@redhat.com> > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > > DISCLAIMER: > > ----------------------------------------------------------------------------------------------------------------------- > The contents of this e-mail and any attachment(s) are confidential and > intended > for the named recipient(s) only. > It shall not attach any liability on the originator or NEC or its > affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect > the > opinions of NEC or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this > e-mail is > strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. . > > ----------------------------------------------------------------------------------------------------------------------- > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev