{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/helpers/issues/23","labels_url":"https://api.github.com/repos/lotus/helpers/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/lotus/helpers/issues/23/comments","events_url":"https://api.github.com/repos/lotus/helpers/issues/23/events","html_url":"https://github.com/lotus/helpers/issues/23","id":97321931,"number":23,"title":"Support HTML5 required constraint for text_field","user":{"login":"joneslee85","id":135605,"avatar_url":"https://avatars.githubusercontent.com/u/135605?v=3","gravatar_id":"","url":"https://api.github.com/users/joneslee85","html_url":"https://github.com/joneslee85","followers_url":"https://api.github.com/users/joneslee85/followers","following_url":"https://api.github.com/users/joneslee85/following{/other_user}","gists_url":"https://api.github.com/users/joneslee85/gists{/gist_id}","starred_url":"https://api.github.com/users/joneslee85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joneslee85/subscriptions","organizations_url":"https://api.github.com/users/joneslee85/orgs","repos_url":"https://api.github.com/users/joneslee85/repos","events_url":"https://api.github.com/users/joneslee85/events{/privacy}","received_events_url":"https://api.github.com/users/joneslee85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lotus/helpers/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lotus/helpers/milestones/3","html_url":"https://github.com/lotus/helpers/milestones/v0.2.1","labels_url":"https://api.github.com/repos/lotus/helpers/milestones/3/labels","id":1219825,"number":3,"title":"v0.2.1","description":"","creator":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-07-22T09:04:11Z","updated_at":"2015-07-27T08:04:24Z","due_on":"2015-09-22T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-07-26T14:20:53Z","updated_at":"2015-07-27T11:02:10Z","closed_at":"2015-07-27T08:04:24Z","body":"Now:\r\n\r\n```\r\ntext_field :my_field, required: true\r\n```\r\ngenerates\r\n\r\n```\r\n<input type=\"text\" required=\"true\">\r\n```\r\n\r\nwhich is *invalid* HTML5 syntax\r\n\r\nIt should generate this instead:\r\n\r\n```\r\n<input type=\"text\" required>\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lotus/helpers/issues/comments/125166305","html_url":"https://github.com/lotus/helpers/issues/23#issuecomment-125166305","issue_url":"https://api.github.com/repos/lotus/helpers/issues/23","id":125166305,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T11:02:10Z","updated_at":"2015-07-27T11:02:10Z","body":"@pascalbetz Your observation is correct. Would you like to fix that? Thank you."}}