Commit eae20fa5 authored by Fiona Neill's avatar Fiona Neill

Merge branch 'sam.figueroa-master-patch-27071' into 'master'

Re-remove advice on using double nested hashes

See merge request gitlab-org/gitlab!82202
parents ee0cd72a 119b67e8
......@@ -47,10 +47,7 @@ To implement tracking for HAML or Vue templates, add a [`data-track` attribute](
The following example shows `data-track-*` attributes assigned to a button:
```haml
%button.btn{ data: { track: { action: "click_button", label: "template_preview", property: "my-template" } } }
// or
// %button.btn{ data: { track_action: "click_button", track_label: "template_preview", track_property: "my-template" } }
%button.btn{ data: { track_action: "click_button", track_label: "template_preview", track_property: "my-template" } }
```
```html
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment