<div dir="ltr">Hi Sandeep,<br><br>If I understand you correctly, looks like you need to change 'row_actions' field here: <a href="https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/tables.py#L152">https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/tables.py#L152</a><br>and replace UpdateSubnet with your custom action. <br>You also might be interested in this view: <a href="https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/views.py#L57">https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/views.py#L57</a><br>And in this workflow: <a href="https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/workflows.py#L80">https://github.com/openstack/horizon/blob/stable/kilo/openstack_dashboard/dashboards/project/networks/subnets/workflows.py#L80</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 1, 2016 at 3:40 PM, Sandeep Makhija <span dir="ltr"><<a href="mailto:sandeep.makhija@nectechnologies.in" target="_blank">sandeep.makhija@nectechnologies.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Matthias,<br>
<br>
Thanks for your reply.<br>
<br>
As mentioned, I need to change the <form> 'action' attribute of the 'Edit Subnet' button.\<br>
<br>
<br>
Regards,<br>
Sandeep Makhija<br>
<div class="HOEnZb"><div class="h5"><br>
-----Original Message-----<br>
From: Matthias Runge [mailto:<a href="mailto:mrunge@redhat.com">mrunge@redhat.com</a>]<br>
Sent: Monday, February 01, 2016 6:03 PM<br>
To: <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
Subject: Re: [openstack-dev] [Horizon] Django<br>
<br>
On Mon, Feb 01, 2016 at 10:56:14AM +0000, Sandeep Makhija wrote:<br>
> Hi,<br>
><br>
> 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.<br>
><br>
> Could somebody please help me with it? Below given are the details of what I am looking for.<br>
<br>
Since you did not describe, what you would like to change, it's a bit hard to set you on track.<br>
<br>
Looking at that image, I assume, you would like to change the subnet workflow, which is defined in subnets/workflows.py<br>
<br>
<a href="https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L457" rel="noreferrer" target="_blank">https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/networks/workflows.py#L457</a><br>
<br>
<br>
Matthias<br>
--<br>
Matthias Runge <<a href="mailto:mrunge@redhat.com">mrunge@redhat.com</a>><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
<br>
<br>
</div></div><span class="im HOEnZb">DISCLAIMER:<br>
-----------------------------------------------------------------------------------------------------------------------<br>
The contents of this e-mail and any attachment(s) are confidential and<br>
intended<br>
for the named recipient(s) only.<br>
It shall not attach any liability on the originator or NEC or its<br>
affiliates. Any views or opinions presented in<br>
this email are solely those of the author and may not necessarily reflect the<br>
opinions of NEC or its affiliates.<br>
Any form of reproduction, dissemination, copying, disclosure, modification,<br>
distribution and / or publication of<br>
this message without the prior written consent of the author of this e-mail is<br>
strictly prohibited. If you have<br>
received this email in error please delete it and notify the sender<br>
immediately. .<br>
-----------------------------------------------------------------------------------------------------------------------<br>
<br>
</span><div class="HOEnZb"><div class="h5">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>