Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KG JJH - Position on Edit Visit Group (2.2.0) #146

Merged
merged 12 commits into from May 5, 2016

Conversation

kayla-glick
Copy link
Contributor

This Pull Request adds a field to the Edit Visit Group form which allows the user to change the position of the visit group. It works similarly to that on the New Visit Group form, however it removes the current Visit Group from the list of options and selects the current position as the default option.

arm.visit_count.times do
create(:visit_group, arm: arm)
arm.visit_count.times do |n|
create(:visit_group, arm: arm, position: n + 1, day: 7 * (n + 1))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kayla-glick
Copy link
Contributor Author

@jayhardee9 Is this request ready to be reviewed?

@kayla-glick kayla-glick changed the title KG - Position on Edit Visit Group KG JJH - Position on Edit Visit Group (2.2.0) May 3, 2016
@kayla-glick kayla-glick merged commit 2035775 into master May 5, 2016
@kayla-glick kayla-glick deleted the kg-move_to_position_edit_vg branch May 5, 2016 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants