{"action":"opened","issue":{"url":"https://api.github.com/repos/engram-design/SuperTable/issues/88","repository_url":"https://api.github.com/repos/engram-design/SuperTable","labels_url":"https://api.github.com/repos/engram-design/SuperTable/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/engram-design/SuperTable/issues/88/comments","events_url":"https://api.github.com/repos/engram-design/SuperTable/issues/88/events","html_url":"https://github.com/engram-design/SuperTable/issues/88","id":177869273,"number":88,"title":"using a switch in a template for a supertable row","user":{"login":"lexbi","id":2337910,"avatar_url":"https://avatars.githubusercontent.com/u/2337910?v=3","gravatar_id":"","url":"https://api.github.com/users/lexbi","html_url":"https://github.com/lexbi","followers_url":"https://api.github.com/users/lexbi/followers","following_url":"https://api.github.com/users/lexbi/following{/other_user}","gists_url":"https://api.github.com/users/lexbi/gists{/gist_id}","starred_url":"https://api.github.com/users/lexbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexbi/subscriptions","organizations_url":"https://api.github.com/users/lexbi/orgs","repos_url":"https://api.github.com/users/lexbi/repos","events_url":"https://api.github.com/users/lexbi/events{/privacy}","received_events_url":"https://api.github.com/users/lexbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-19T19:05:48Z","updated_at":"2016-09-19T19:05:48Z","closed_at":null,"body":"Could I use a switch on a loop of superTable rows instead of ifs within a for? I've attempted this already, but it appears that craft doesn't agree with `row.handle`\r\n\r\nHere is my SuperTable field:\r\n![image](https://cloud.githubusercontent.com/assets/2337910/18645244/598692d2-7ea4-11e6-8160-567079df6595.png)\r\n\r\nHere is the markup I'm trying\r\n\r\n    {% for row in entry.pageContent %}\r\n        {# lvl1 row #}\r\n        {% switch row.handle %}\r\n\r\n            {% case \"contentWrapper\" %}\r\n                contentWrapper\r\n            {% case \"fullWidthImage\" %}\r\n                FullWidth\r\n\r\n        {% endswitch %}\r\n\r\n    {% endfor %}"}}
{"actor":{"display_login":"lexbi"}}