{"action":"opened","issue":{"url":"https://api.github.com/repos/nathanvda/cocoon/issues/505","repository_url":"https://api.github.com/repos/nathanvda/cocoon","labels_url":"https://api.github.com/repos/nathanvda/cocoon/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/nathanvda/cocoon/issues/505/comments","events_url":"https://api.github.com/repos/nathanvda/cocoon/issues/505/events","html_url":"https://github.com/nathanvda/cocoon/issues/505","id":323639109,"number":505,"title":"Display secondary parent first_name and last_name","user":{"login":"sidhunavroop","id":25550935,"avatar_url":"https://avatars3.githubusercontent.com/u/25550935?v=4","gravatar_id":"","url":"https://api.github.com/users/sidhunavroop","html_url":"https://github.com/sidhunavroop","followers_url":"https://api.github.com/users/sidhunavroop/followers","following_url":"https://api.github.com/users/sidhunavroop/following{/other_user}","gists_url":"https://api.github.com/users/sidhunavroop/gists{/gist_id}","starred_url":"https://api.github.com/users/sidhunavroop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidhunavroop/subscriptions","organizations_url":"https://api.github.com/users/sidhunavroop/orgs","repos_url":"https://api.github.com/users/sidhunavroop/repos","events_url":"https://api.github.com/users/sidhunavroop/events{/privacy}","received_events_url":"https://api.github.com/users/sidhunavroop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-16T14:11:11Z","updated_at":"2018-05-16T14:11:11Z","closed_at":null,"author_association":"NONE","body":"_form.html.erb\r\n<div class='row'>\r\n  <div class= 'col-xs-12'>\r\n    <%= form_for(@parent, :html => {class: \"form-horizontal\", role: \"form\"}) do |f| %>\r\n    \t<div class = \"form-group\">\r\n        <div class=\"control-label col-sm-2\">\r\n    \t<%= f.label :parent_1_firstname %>\r\n      </div>\r\n      <div class=\"col-sm-8\">\r\n        <%= f.text_field :parent_1_firstname, class: \"form-control\", placeholder: \"Parent 1 first name\", \r\n      autofocus:true %>\r\n      </div>\r\n    </div>\r\n     <div class = \"form-group\">\r\n        <div class=\"control-label col-sm-2\">\r\n             <%= f.label :parent_1_lastname %>\r\n           </div>\r\n           <div class=\"col-sm-8\">\r\n             <%= f.text_field :parent_1_lastname, class: \"form-control\", placeholder: \"Parent 1 last name\", \r\n           autofocus:true %>\r\n          </div>\r\n        </div>\r\n        <p><strong>Add Secondary Parents or Guardians<br /></strong></p>\r\n        <div id ='secondaryparents'>\r\n        <%= f.fields_for :secondaryparents do |builder| %>\r\n        <%= render 'secondaryparent_fields', :f => builder %>\r\n        <% end %>\r\n        <%= link_to_add_association 'Add Secondary Parent', f, :secondaryparents %>\r\n      </div>\r\n      <div class=\"form-group\">\r\n        <div class=\"col-sm-10\">\r\n      \t<%= f.submit class: 'btn btn-primary btn-lg' %>\r\n      </div>\r\n    </div>\r\n<% end %>\r\n\r\n_secondaryparent_fields.html.erb\r\n\t<div class = \"form-group\">\r\n        <div class=\"control-label col-sm-2\">\r\n             <%= f.label :parent_first_name %>\r\n           </div>\r\n           <div class=\"col-sm-8\">\r\n             <%= f.text_field :parent_first_name, class: \"form-control\", placeholder: \"Parent First Name\", \r\n             autofocus:true %>\r\n          </div>\r\n        </div>\r\n        <div class = \"form-group\">\r\n        <div class=\"control-label col-sm-2\">\r\n             <%= f.label :parent_last_name %>\r\n           </div>\r\n           <div class=\"col-sm-8\">\r\n             <%= f.text_field :parent_last_name, class: \"form-control\", placeholder: \"Parent Last Name\", \r\n            autofocus:true %>\r\n          </div>\r\n        </div>\r\n        <%= link_to_remove_association \"Remove Parent\", f %>\r\n\r\nshow.html.erb\r\n<h2>Family Information</h2>\r\n<p><strong>Primary Parent or Guardian in the home<br /></strong></p>\r\n<p>First Name: <%= @parent.parent_1_firstname %></p>\r\n<p>Last name:<%= @parent.parent_1_lastname %></p>\r\n<p><strong>Secondary Parents or Guardians<br /></strong></p>\r\n<p>First Name:<%= @secondaryparent.first_name %></p>\r\n<p>Last Name:<%= @secondaryparent.last_name %></p>\r\n<hr>\r\n\r\nplease help\r\nHow to display the secondary parent first name and last name?\r\n"}}
{"actor":{"display_login":"sidhunavroop"}}