I have a table which contains some information.
For example, I have two options like View
and Edit
. I will give Edit
option for X info and View
option for Y info on a table. I will make my options as a link so that I can able to click on the options.
Now, what I want to happen when I click on Edit
is to display what Django admin normally has. When I click on View
, I want info of that particular line to display as a non editable field.
I have already tried this but it is making both options read only fields. Is this possible?