{"action":"created","comment":{"url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments/57451331","id":57451331,"diff_hunk":"@@ -0,0 +1,43 @@\n+<div id=\"generic-file-location-form\" class=\"form-group\">\n+  <div class=\"geo_point nested-field repeating-field\">\n+    <fieldset>\n+      <ul class=\"listing\">\n+        <h4>Point</h4>\n+        <%= f.simple_fields_for :nested_geo_points do |a| %>\n+          <li class=\"field-wrapper\">\n+            <% unless a.object.new_record? %>\n+              <%= a.input :id, :as => :hidden %>\n+            <% end %>\n+\n+            <%= a.input :label, :wrapper_html => {:class => \"col-xs-12\"} %>\n+            <%= a.input :latitude, :wrapper_html => {:class => \"col-xs-6\"} %>\n+            <%= a.input :longitude, :wrapper_html => {:class => \"col-xs-6\"} %>\n+          </li>\n+        <% end %>\n+      </ul>\n+    </fieldset>\n+  </div>\n+\n+  <div class=\"geo_bbox nested-field repeating-field\">\n+    <fieldset>\n+      <ul class=\"listing\">\n+        <h4>Bounding box</h4>\n+        <%= f.simple_fields_for :nested_geo_bbox do |a| %>\n+          <li class=\"field-wrapper\">\n+            <% unless a.object.new_record? %>\n+              <%= a.input :id, :as => :hidden %>\n+            <% end %>\n+\n+            <%= a.input :label, :wrapper_html => {:class => \"col-xs-12\"} %>\n+            <%= a.input :bbox, :wrapper_html => {:class => \"col-xs-12 bbox_field\"} %>\n+            <%= a.input :bbox_lat_north, :wrapper_html => {:class => \"col-xs-6\"} %>","path":"app/views/records/edit_fields/_nested_geo_location_form.html.erb","position":33,"original_position":33,"commit_id":"e715170579145b606a99b1c4641981520dfe2720","original_commit_id":"e715170579145b606a99b1c4641981520dfe2720","user":{"login":"revgum","id":32885,"avatar_url":"https://avatars.githubusercontent.com/u/32885?v=3","gravatar_id":"","url":"https://api.github.com/users/revgum","html_url":"https://github.com/revgum","followers_url":"https://api.github.com/users/revgum/followers","following_url":"https://api.github.com/users/revgum/following{/other_user}","gists_url":"https://api.github.com/users/revgum/gists{/gist_id}","starred_url":"https://api.github.com/users/revgum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revgum/subscriptions","organizations_url":"https://api.github.com/users/revgum/orgs","repos_url":"https://api.github.com/users/revgum/repos","events_url":"https://api.github.com/users/revgum/events{/privacy}","received_events_url":"https://api.github.com/users/revgum/received_events","type":"User","site_admin":false},"body":"bbox_lat_north, bbox_lat_west, bbox_lat_south, and bbox_lat_east could use nice labels for the form, you can override the form label like so;\r\n\r\n`<%= a.input :bbox_lat_north, :label => \"Latitude North\", :wrapper_html => {:class => \"col-xs-6\"} %>`","created_at":"2016-03-25T14:58:33Z","updated_at":"2016-03-25T14:58:33Z","html_url":"https://github.com/osulp/Scholars-Archive/pull/332#discussion_r57451331","pull_request_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332","_links":{"self":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments/57451331"},"html":{"href":"https://github.com/osulp/Scholars-Archive/pull/332#discussion_r57451331"},"pull_request":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332"}}},"pull_request":{"url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332","id":64120659,"html_url":"https://github.com/osulp/Scholars-Archive/pull/332","diff_url":"https://github.com/osulp/Scholars-Archive/pull/332.diff","patch_url":"https://github.com/osulp/Scholars-Archive/pull/332.patch","issue_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/332","number":332,"state":"open","locked":false,"title":"Feature/geo coordinates","user":{"login":"luisgreg99","id":3486120,"avatar_url":"https://avatars.githubusercontent.com/u/3486120?v=3","gravatar_id":"","url":"https://api.github.com/users/luisgreg99","html_url":"https://github.com/luisgreg99","followers_url":"https://api.github.com/users/luisgreg99/followers","following_url":"https://api.github.com/users/luisgreg99/following{/other_user}","gists_url":"https://api.github.com/users/luisgreg99/gists{/gist_id}","starred_url":"https://api.github.com/users/luisgreg99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisgreg99/subscriptions","organizations_url":"https://api.github.com/users/luisgreg99/orgs","repos_url":"https://api.github.com/users/luisgreg99/repos","events_url":"https://api.github.com/users/luisgreg99/events{/privacy}","received_events_url":"https://api.github.com/users/luisgreg99/received_events","type":"User","site_admin":false},"body":"fixes #144 \r\nfixes #250","created_at":"2016-03-25T01:13:02Z","updated_at":"2016-03-25T14:58:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93aefbaac2c578c063bb16acc1ac310481aaa751","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332/commits","review_comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332/comments","review_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/332/comments","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/e715170579145b606a99b1c4641981520dfe2720","head":{"label":"osulp:feature/GeoCoordinates","ref":"feature/GeoCoordinates","sha":"e715170579145b606a99b1c4641981520dfe2720","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":32106837,"name":"Scholars-Archive","full_name":"osulp/Scholars-Archive","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/Scholars-Archive","description":"Scholars-Archive","fork":false,"url":"https://api.github.com/repos/osulp/Scholars-Archive","forks_url":"https://api.github.com/repos/osulp/Scholars-Archive/forks","keys_url":"https://api.github.com/repos/osulp/Scholars-Archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/Scholars-Archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/Scholars-Archive/teams","hooks_url":"https://api.github.com/repos/osulp/Scholars-Archive/hooks","issue_events_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/Scholars-Archive/events","assignees_url":"https://api.github.com/repos/osulp/Scholars-Archive/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/Scholars-Archive/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/tags","blobs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/Scholars-Archive/languages","stargazers_url":"https://api.github.com/repos/osulp/Scholars-Archive/stargazers","contributors_url":"https://api.github.com/repos/osulp/Scholars-Archive/contributors","subscribers_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscribers","subscription_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscription","commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/osulp/Scholars-Archive/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/Scholars-Archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/Scholars-Archive/merges","archive_url":"https://api.github.com/repos/osulp/Scholars-Archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/Scholars-Archive/downloads","issues_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/Scholars-Archive/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/Scholars-Archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/Scholars-Archive/labels{/name}","releases_url":"https://api.github.com/repos/osulp/Scholars-Archive/releases{/id}","deployments_url":"https://api.github.com/repos/osulp/Scholars-Archive/deployments","created_at":"2015-03-12T22:38:38Z","updated_at":"2016-01-22T16:21:50Z","pushed_at":"2016-03-25T01:13:02Z","git_url":"git://github.com/osulp/Scholars-Archive.git","ssh_url":"git@github.com:osulp/Scholars-Archive.git","clone_url":"https://github.com/osulp/Scholars-Archive.git","svn_url":"https://github.com/osulp/Scholars-Archive","homepage":"","size":1680,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":64,"forks":1,"open_issues":64,"watchers":1,"default_branch":"master"}},"base":{"label":"osulp:master","ref":"master","sha":"27cb52d7d1e807305874e9e1e6c25c6f8ca34f97","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":32106837,"name":"Scholars-Archive","full_name":"osulp/Scholars-Archive","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/Scholars-Archive","description":"Scholars-Archive","fork":false,"url":"https://api.github.com/repos/osulp/Scholars-Archive","forks_url":"https://api.github.com/repos/osulp/Scholars-Archive/forks","keys_url":"https://api.github.com/repos/osulp/Scholars-Archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/Scholars-Archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/Scholars-Archive/teams","hooks_url":"https://api.github.com/repos/osulp/Scholars-Archive/hooks","issue_events_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/Scholars-Archive/events","assignees_url":"https://api.github.com/repos/osulp/Scholars-Archive/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/Scholars-Archive/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/tags","blobs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/Scholars-Archive/languages","stargazers_url":"https://api.github.com/repos/osulp/Scholars-Archive/stargazers","contributors_url":"https://api.github.com/repos/osulp/Scholars-Archive/contributors","subscribers_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscribers","subscription_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscription","commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/osulp/Scholars-Archive/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/Scholars-Archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/Scholars-Archive/merges","archive_url":"https://api.github.com/repos/osulp/Scholars-Archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/Scholars-Archive/downloads","issues_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/Scholars-Archive/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/Scholars-Archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/Scholars-Archive/labels{/name}","releases_url":"https://api.github.com/repos/osulp/Scholars-Archive/releases{/id}","deployments_url":"https://api.github.com/repos/osulp/Scholars-Archive/deployments","created_at":"2015-03-12T22:38:38Z","updated_at":"2016-01-22T16:21:50Z","pushed_at":"2016-03-25T01:13:02Z","git_url":"git://github.com/osulp/Scholars-Archive.git","ssh_url":"git@github.com:osulp/Scholars-Archive.git","clone_url":"https://github.com/osulp/Scholars-Archive.git","svn_url":"https://github.com/osulp/Scholars-Archive","homepage":"","size":1680,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":64,"forks":1,"open_issues":64,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332"},"html":{"href":"https://github.com/osulp/Scholars-Archive/pull/332"},"issue":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/issues/332"},"comments":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/e715170579145b606a99b1c4641981520dfe2720"}}}}