{"action":"created","comment":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/87599505","pull_request_review_id":8207902,"id":87599505,"diff_hunk":"@@ -0,0 +1,26 @@\n+%header.entry-header\n+  %h1.entry-title Ansök om medlemskap\n+.post-title-divider\n+  %span\n+.entry-content.wpcf7\n+  = form_for @membership, url: memberships_path do |f|\n+    - if @membership.errors.any?\n+      - @membership.errors.full_messages.each do |msg|\n+        .wpcf7-response-output\n+          = msg\n+    = f.label :company_name, 'Company Name'\n+    = f.text_field :company_name, class: 'wpcf7-form-control'\n+\n+    = f.label :company_number, 'Company Number'\n+    = f.number_field :company_number, class: 'wpcf7-form-control'\n+\n+    = f.label :contact_person, 'Contact Person'\n+    = f.text_field :contact_person, class: 'wpcf7-form-control'\n+\n+    = f.label :company_email, 'Company Email'\n+    = f.email_field :company_email, class: 'wpcf7-form-control'\n+\n+    = f.label :phone_number, 'Phone Number'\n+    = f.telephone_field :phone_number, class: 'wpcf7-form-control'\n+\n+    = f.submit 'Submit'","path":"app/views/memberships/new.html.haml","position":26,"original_position":26,"commit_id":"b2915b41555bf063c41da81ec7138a5837fd481d","original_commit_id":"116ddd642c790fd574bc7281e7d9d0a8b73ecc12","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"body":"One strategy is to add i18n and translation files (yaml). ","created_at":"2016-11-11T14:53:25Z","updated_at":"2016-11-11T14:53:25Z","html_url":"https://github.com/AgileVentures/shf-project/pull/12#discussion_r87599505","pull_request_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments/87599505"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/12#discussion_r87599505"},"pull_request":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12","id":93235097,"html_url":"https://github.com/AgileVentures/shf-project/pull/12","diff_url":"https://github.com/AgileVentures/shf-project/pull/12.diff","patch_url":"https://github.com/AgileVentures/shf-project/pull/12.patch","issue_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/12","number":12,"state":"open","locked":false,"title":"Visitor fills out Membership Application","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"body":"PT Story: https://www.pivotaltracker.com/story/show/133940725\r\n\r\n_As a visitor\r\nIn order to get a membership with SHF (which makes my business more valuable )\r\nI need to be able to submit a Membership Application_ \r\n\r\n\r\nChanges proposed in this pull request:\r\n1. creates a MembershipApplication class\r\n2. adds MembershipsController\r\n3. adds view to create and submit an application\r\n4. replaces gem `haml` with `haml-rails` \r\n5. css for telephone and number fields\r\n6. css, js and helper for flashes\r\n\r\n<img width=\"715\" alt=\"skarmavbild 2016-11-11 kl 12 44 05\" src=\"https://cloud.githubusercontent.com/assets/7266909/20214217/07f1fd7a-a80d-11e6-8955-a9e4fe68603b.png\">\r\n<img width=\"474\" alt=\"skarmavbild 2016-11-11 kl 12 45 40\" src=\"https://cloud.githubusercontent.com/assets/7266909/20214218/07f232cc-a80d-11e6-98b4-42ec01333143.png\">\r\n\r\n","created_at":"2016-11-10T21:34:34Z","updated_at":"2016-11-11T14:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"349417abe27f8cc6fdca204329e259280cf8d597","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12/commits","review_comments_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12/comments","review_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/12/comments","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/b2915b41555bf063c41da81ec7138a5837fd481d","head":{"label":"tochman:new_aplication","ref":"new_aplication","sha":"b2915b41555bf063c41da81ec7138a5837fd481d","user":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"repo":{"id":73415430,"name":"shf-project","full_name":"tochman/shf-project","owner":{"login":"tochman","id":5248170,"avatar_url":"https://avatars.githubusercontent.com/u/5248170?v=3","gravatar_id":"","url":"https://api.github.com/users/tochman","html_url":"https://github.com/tochman","followers_url":"https://api.github.com/users/tochman/followers","following_url":"https://api.github.com/users/tochman/following{/other_user}","gists_url":"https://api.github.com/users/tochman/gists{/gist_id}","starred_url":"https://api.github.com/users/tochman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tochman/subscriptions","organizations_url":"https://api.github.com/users/tochman/orgs","repos_url":"https://api.github.com/users/tochman/repos","events_url":"https://api.github.com/users/tochman/events{/privacy}","received_events_url":"https://api.github.com/users/tochman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tochman/shf-project","description":null,"fork":true,"url":"https://api.github.com/repos/tochman/shf-project","forks_url":"https://api.github.com/repos/tochman/shf-project/forks","keys_url":"https://api.github.com/repos/tochman/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tochman/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tochman/shf-project/teams","hooks_url":"https://api.github.com/repos/tochman/shf-project/hooks","issue_events_url":"https://api.github.com/repos/tochman/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/tochman/shf-project/events","assignees_url":"https://api.github.com/repos/tochman/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/tochman/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/tochman/shf-project/tags","blobs_url":"https://api.github.com/repos/tochman/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tochman/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tochman/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/tochman/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tochman/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/tochman/shf-project/languages","stargazers_url":"https://api.github.com/repos/tochman/shf-project/stargazers","contributors_url":"https://api.github.com/repos/tochman/shf-project/contributors","subscribers_url":"https://api.github.com/repos/tochman/shf-project/subscribers","subscription_url":"https://api.github.com/repos/tochman/shf-project/subscription","commits_url":"https://api.github.com/repos/tochman/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/tochman/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/tochman/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/tochman/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/tochman/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/tochman/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tochman/shf-project/merges","archive_url":"https://api.github.com/repos/tochman/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tochman/shf-project/downloads","issues_url":"https://api.github.com/repos/tochman/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/tochman/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/tochman/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/tochman/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tochman/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/tochman/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/tochman/shf-project/deployments","created_at":"2016-11-10T19:45:12Z","updated_at":"2016-11-10T19:45:13Z","pushed_at":"2016-11-11T14:37:39Z","git_url":"git://github.com/tochman/shf-project.git","ssh_url":"git@github.com:tochman/shf-project.git","clone_url":"https://github.com/tochman/shf-project.git","svn_url":"https://github.com/tochman/shf-project","homepage":null,"size":833,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"AgileVentures:develop","ref":"develop","sha":"4c38d2dce22f41ce2602303e70df9924ef94ce8a","user":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"repo":{"id":71157737,"name":"shf-project","full_name":"AgileVentures/shf-project","owner":{"login":"AgileVentures","id":5116968,"avatar_url":"https://avatars.githubusercontent.com/u/5116968?v=3","gravatar_id":"","url":"https://api.github.com/users/AgileVentures","html_url":"https://github.com/AgileVentures","followers_url":"https://api.github.com/users/AgileVentures/followers","following_url":"https://api.github.com/users/AgileVentures/following{/other_user}","gists_url":"https://api.github.com/users/AgileVentures/gists{/gist_id}","starred_url":"https://api.github.com/users/AgileVentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgileVentures/subscriptions","organizations_url":"https://api.github.com/users/AgileVentures/orgs","repos_url":"https://api.github.com/users/AgileVentures/repos","events_url":"https://api.github.com/users/AgileVentures/events{/privacy}","received_events_url":"https://api.github.com/users/AgileVentures/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AgileVentures/shf-project","description":null,"fork":true,"url":"https://api.github.com/repos/AgileVentures/shf-project","forks_url":"https://api.github.com/repos/AgileVentures/shf-project/forks","keys_url":"https://api.github.com/repos/AgileVentures/shf-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AgileVentures/shf-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AgileVentures/shf-project/teams","hooks_url":"https://api.github.com/repos/AgileVentures/shf-project/hooks","issue_events_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/events{/number}","events_url":"https://api.github.com/repos/AgileVentures/shf-project/events","assignees_url":"https://api.github.com/repos/AgileVentures/shf-project/assignees{/user}","branches_url":"https://api.github.com/repos/AgileVentures/shf-project/branches{/branch}","tags_url":"https://api.github.com/repos/AgileVentures/shf-project/tags","blobs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AgileVentures/shf-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AgileVentures/shf-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/AgileVentures/shf-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AgileVentures/shf-project/statuses/{sha}","languages_url":"https://api.github.com/repos/AgileVentures/shf-project/languages","stargazers_url":"https://api.github.com/repos/AgileVentures/shf-project/stargazers","contributors_url":"https://api.github.com/repos/AgileVentures/shf-project/contributors","subscribers_url":"https://api.github.com/repos/AgileVentures/shf-project/subscribers","subscription_url":"https://api.github.com/repos/AgileVentures/shf-project/subscription","commits_url":"https://api.github.com/repos/AgileVentures/shf-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/AgileVentures/shf-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/AgileVentures/shf-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/AgileVentures/shf-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/AgileVentures/shf-project/contents/{+path}","compare_url":"https://api.github.com/repos/AgileVentures/shf-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AgileVentures/shf-project/merges","archive_url":"https://api.github.com/repos/AgileVentures/shf-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AgileVentures/shf-project/downloads","issues_url":"https://api.github.com/repos/AgileVentures/shf-project/issues{/number}","pulls_url":"https://api.github.com/repos/AgileVentures/shf-project/pulls{/number}","milestones_url":"https://api.github.com/repos/AgileVentures/shf-project/milestones{/number}","notifications_url":"https://api.github.com/repos/AgileVentures/shf-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AgileVentures/shf-project/labels{/name}","releases_url":"https://api.github.com/repos/AgileVentures/shf-project/releases{/id}","deployments_url":"https://api.github.com/repos/AgileVentures/shf-project/deployments","created_at":"2016-10-17T16:18:10Z","updated_at":"2016-11-07T19:30:07Z","pushed_at":"2016-11-11T14:37:39Z","git_url":"git://github.com/AgileVentures/shf-project.git","ssh_url":"git@github.com:AgileVentures/shf-project.git","clone_url":"https://github.com/AgileVentures/shf-project.git","svn_url":"https://github.com/AgileVentures/shf-project","homepage":null,"size":873,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12"},"html":{"href":"https://github.com/AgileVentures/shf-project/pull/12"},"issue":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/12"},"comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AgileVentures/shf-project/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/AgileVentures/shf-project/statuses/b2915b41555bf063c41da81ec7138a5837fd481d"}}}}
{"actor":{"display_login":"tochman"}}