{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/frontend/issues/11303","labels_url":"https://api.github.com/repos/guardian/frontend/issues/11303/labels{/name}","comments_url":"https://api.github.com/repos/guardian/frontend/issues/11303/comments","events_url":"https://api.github.com/repos/guardian/frontend/issues/11303/events","html_url":"https://github.com/guardian/frontend/pull/11303","id":120832668,"number":11303,"title":"Rtrt email in article","user":{"login":"gtrufitt","id":638051,"avatar_url":"https://avatars.githubusercontent.com/u/638051?v=3","gravatar_id":"","url":"https://api.github.com/users/gtrufitt","html_url":"https://github.com/gtrufitt","followers_url":"https://api.github.com/users/gtrufitt/followers","following_url":"https://api.github.com/users/gtrufitt/following{/other_user}","gists_url":"https://api.github.com/users/gtrufitt/gists{/gist_id}","starred_url":"https://api.github.com/users/gtrufitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtrufitt/subscriptions","organizations_url":"https://api.github.com/users/gtrufitt/orgs","repos_url":"https://api.github.com/users/gtrufitt/repos","events_url":"https://api.github.com/users/gtrufitt/events{/privacy}","received_events_url":"https://api.github.com/users/gtrufitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T18:02:03Z","updated_at":"2015-12-08T10:24:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/frontend/pulls/11303","html_url":"https://github.com/guardian/frontend/pull/11303","diff_url":"https://github.com/guardian/frontend/pull/11303.diff","patch_url":"https://github.com/guardian/frontend/pull/11303.patch"},"body":"Allow embedding of the inline email into composer articles. Embed code looks like:\r\n\r\n```<iframe src=\"/email/form/article\" data-form-title=\"Want stories like this in your inbox?\" data-form-description=\"Subscribe to the Guardian Today and get the biggest headlines delivered to you each morning\" scrolling=\"no\" seamless frameborder=\"0\" class=\"iframed--overflow-hidden email-sub__iframe js-email-sub__iframe--article\"></iframe>```\r\n\r\n![image](https://cloud.githubusercontent.com/assets/638051/11634985/b04d816e-9d0b-11e5-8635-92c928581c69.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/638051/11635006/cbc12482-9d0b-11e5-9c52-28eeddab71ab.png)\r\n\r\nI have update the email routes to allow a form type, restricted initially to `footer` and `article`. Passing options/settings from the embedded iframe to the form below is done with data attributes."},"comment":{"url":"https://api.github.com/repos/guardian/frontend/issues/comments/162841637","html_url":"https://github.com/guardian/frontend/pull/11303#issuecomment-162841637","issue_url":"https://api.github.com/repos/guardian/frontend/issues/11303","id":162841637,"user":{"login":"NathanielBennett","id":986155,"avatar_url":"https://avatars.githubusercontent.com/u/986155?v=3","gravatar_id":"","url":"https://api.github.com/users/NathanielBennett","html_url":"https://github.com/NathanielBennett","followers_url":"https://api.github.com/users/NathanielBennett/followers","following_url":"https://api.github.com/users/NathanielBennett/following{/other_user}","gists_url":"https://api.github.com/users/NathanielBennett/gists{/gist_id}","starred_url":"https://api.github.com/users/NathanielBennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NathanielBennett/subscriptions","organizations_url":"https://api.github.com/users/NathanielBennett/orgs","repos_url":"https://api.github.com/users/NathanielBennett/repos","events_url":"https://api.github.com/users/NathanielBennett/events{/privacy}","received_events_url":"https://api.github.com/users/NathanielBennett/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T10:24:53Z","updated_at":"2015-12-08T10:24:53Z","body":":+1: Otherwise"}}