I know how to add a link to an Active Admin. Code is below to add link:
row "Has Attended Orientation" do
link_to('Accept','#')
end
But my requirement is that when a user clicks on Accept
, it should show a tab to select YES
or NO
. If user selects YES
then it should trigger a function. Could anyone help me, how I can do that?
Aucun commentaire:
Enregistrer un commentaire