{"action":"created","comment":{"url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/comments/46935955","id":46935955,"diff_hunk":"@@ -42,17 +42,23 @@\n   .row\n     .small-3.columns\n       %h4.subheader.right= t('experiments.extension_dialog.minimum') + ':'\n-    .small-4.columns= text_field_tag('range_min')\n+    .small-4.columns\n+      = text_field_tag 'range_min','', style: \"margin-bottom: 5px;\", required: 'true', pattern: \"^-?[0-9]*\\\\.?[0-9]+$\", \"data-abide-validator\" => 'validate_ranges'\n+      %small(id=\"range_min_error_msg\" class=\"error\") Invalid minimum value. It is required and must be equal to or less than maximum\n     .small-3.columns\n   .row\n     .small-3.columns\n       %h4.subheader.right= t('experiments.extension_dialog.maximum') + ':'\n-    .small-4.columns= text_field_tag('range_max')\n+    .small-4.columns\n+      = text_field_tag 'range_max', '',style: \"margin-bottom: 5px;\", required: 'true', pattern: \"^-?[0-9]*\\\\.?[0-9]+$\", \"data-abide-validator\" => 'validate_ranges'\n+      %small(id=\"range_max_error_msg\" class=\"error\") Invalid maximum value. It is required and must be equal to or greater than minimum\n     .small-3.columns\n   .row\n     .small-3.columns\n       %h4.subheader.right= t('experiments.extension_dialog.step') + ':'\n-    .small-4.columns= text_field_tag('range_step')\n+    .small-4.columns\n+      = text_field_tag 'range_step','',style: \"margin-bottom: 5px;\", required: 'true', pattern: \"^[0-9]*[1-9][0-9]*$\"\n+      %small(class=\"error\") Invalid step value. It is required and must be positive number","path":"app/views/experiments/_extension_dialog.html.haml","position":30,"original_position":30,"commit_id":"07dfeaa7b02a99f463609a60e1d255382dcf6e72","original_commit_id":"07dfeaa7b02a99f463609a60e1d255382dcf6e72","user":{"login":"kliput","id":1345438,"avatar_url":"https://avatars.githubusercontent.com/u/1345438?v=3","gravatar_id":"","url":"https://api.github.com/users/kliput","html_url":"https://github.com/kliput","followers_url":"https://api.github.com/users/kliput/followers","following_url":"https://api.github.com/users/kliput/following{/other_user}","gists_url":"https://api.github.com/users/kliput/gists{/gist_id}","starred_url":"https://api.github.com/users/kliput/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kliput/subscriptions","organizations_url":"https://api.github.com/users/kliput/orgs","repos_url":"https://api.github.com/users/kliput/repos","events_url":"https://api.github.com/users/kliput/events{/privacy}","received_events_url":"https://api.github.com/users/kliput/received_events","type":"User","site_admin":false},"body":"@Andriu01 - chyba \"must be a positive number\"","created_at":"2015-12-08T10:21:00Z","updated_at":"2015-12-08T10:21:00Z","html_url":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160#discussion_r46935955","pull_request_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160","_links":{"self":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/comments/46935955"},"html":{"href":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160#discussion_r46935955"},"pull_request":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160","id":52843187,"html_url":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160","diff_url":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160.diff","patch_url":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160.patch","issue_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/160","number":160,"state":"open","locked":false,"title":"SCAL-972: Changing to positive number for adding params.","user":{"login":"Andriu01","id":6178260,"avatar_url":"https://avatars.githubusercontent.com/u/6178260?v=3","gravatar_id":"","url":"https://api.github.com/users/Andriu01","html_url":"https://github.com/Andriu01","followers_url":"https://api.github.com/users/Andriu01/followers","following_url":"https://api.github.com/users/Andriu01/following{/other_user}","gists_url":"https://api.github.com/users/Andriu01/gists{/gist_id}","starred_url":"https://api.github.com/users/Andriu01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andriu01/subscriptions","organizations_url":"https://api.github.com/users/Andriu01/orgs","repos_url":"https://api.github.com/users/Andriu01/repos","events_url":"https://api.github.com/users/Andriu01/events{/privacy}","received_events_url":"https://api.github.com/users/Andriu01/received_events","type":"User","site_admin":false},"body":"Validate extension dialog view -> expand experiment","created_at":"2015-12-07T13:18:07Z","updated_at":"2015-12-08T10:21:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f409d91db855e2c41413347a1acb2d1310aa1a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160/commits","review_comments_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160/comments","review_comment_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/160/comments","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/statuses/07dfeaa7b02a99f463609a60e1d255382dcf6e72","head":{"label":"Scalarm:SCAL-972-Validate-extension-dialog","ref":"SCAL-972-Validate-extension-dialog","sha":"07dfeaa7b02a99f463609a60e1d255382dcf6e72","user":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"repo":{"id":7915145,"name":"scalarm_experiment_manager","full_name":"Scalarm/scalarm_experiment_manager","owner":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Scalarm/scalarm_experiment_manager","description":"Scalarm Experiment Manager is the main component of the Scalarm platform for data farming.","fork":false,"url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager","forks_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/forks","keys_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/teams","hooks_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/hooks","issue_events_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/events{/number}","events_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/events","assignees_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/assignees{/user}","branches_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/branches{/branch}","tags_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/tags","blobs_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/languages","stargazers_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/stargazers","contributors_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/contributors","subscribers_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/subscribers","subscription_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/subscription","commits_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/contents/{+path}","compare_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/merges","archive_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/downloads","issues_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues{/number}","pulls_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/labels{/name}","releases_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/releases{/id}","created_at":"2013-01-30T13:34:10Z","updated_at":"2015-04-20T15:56:04Z","pushed_at":"2015-12-07T13:18:07Z","git_url":"git://github.com/Scalarm/scalarm_experiment_manager.git","ssh_url":"git@github.com:Scalarm/scalarm_experiment_manager.git","clone_url":"https://github.com/Scalarm/scalarm_experiment_manager.git","svn_url":"https://github.com/Scalarm/scalarm_experiment_manager","homepage":null,"size":38401,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Scalarm:development","ref":"development","sha":"a64b7f7dd5a1618650f66caaac2060d5de38990d","user":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"repo":{"id":7915145,"name":"scalarm_experiment_manager","full_name":"Scalarm/scalarm_experiment_manager","owner":{"login":"Scalarm","id":4244361,"avatar_url":"https://avatars.githubusercontent.com/u/4244361?v=3","gravatar_id":"","url":"https://api.github.com/users/Scalarm","html_url":"https://github.com/Scalarm","followers_url":"https://api.github.com/users/Scalarm/followers","following_url":"https://api.github.com/users/Scalarm/following{/other_user}","gists_url":"https://api.github.com/users/Scalarm/gists{/gist_id}","starred_url":"https://api.github.com/users/Scalarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scalarm/subscriptions","organizations_url":"https://api.github.com/users/Scalarm/orgs","repos_url":"https://api.github.com/users/Scalarm/repos","events_url":"https://api.github.com/users/Scalarm/events{/privacy}","received_events_url":"https://api.github.com/users/Scalarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Scalarm/scalarm_experiment_manager","description":"Scalarm Experiment Manager is the main component of the Scalarm platform for data farming.","fork":false,"url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager","forks_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/forks","keys_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/teams","hooks_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/hooks","issue_events_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/events{/number}","events_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/events","assignees_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/assignees{/user}","branches_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/branches{/branch}","tags_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/tags","blobs_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/languages","stargazers_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/stargazers","contributors_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/contributors","subscribers_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/subscribers","subscription_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/subscription","commits_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/contents/{+path}","compare_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/merges","archive_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/downloads","issues_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues{/number}","pulls_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/labels{/name}","releases_url":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/releases{/id}","created_at":"2013-01-30T13:34:10Z","updated_at":"2015-04-20T15:56:04Z","pushed_at":"2015-12-07T13:18:07Z","git_url":"git://github.com/Scalarm/scalarm_experiment_manager.git","ssh_url":"git@github.com:Scalarm/scalarm_experiment_manager.git","clone_url":"https://github.com/Scalarm/scalarm_experiment_manager.git","svn_url":"https://github.com/Scalarm/scalarm_experiment_manager","homepage":null,"size":38401,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160"},"html":{"href":"https://github.com/Scalarm/scalarm_experiment_manager/pull/160"},"issue":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/160"},"comments":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/Scalarm/scalarm_experiment_manager/statuses/07dfeaa7b02a99f463609a60e1d255382dcf6e72"}}}}