-
Notifications
You must be signed in to change notification settings - Fork 43
Amy Lee -- Carets #36
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
base: master
Are you sure you want to change the base?
Conversation
…to section containers
Task ListWhat We're Looking ForHello Amy, Dee & I are switching off for this unit on feedback and 1-1s. So I'll do you feedback for the Rails unit.
|
CheezItMan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some comments.
| <% if action_name == "Edit" %> | ||
| <section class = "input"> | ||
| <%= f.label "Completed?" %>: | ||
| <%= f.select(:status, [true, false]) %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to default to the current value of status.
You could instead do:
<%= f.select(:status, [true, false], {selected: @task.status}) %>
Task List
Congratulations! You're submitting your assignment!
Comprehension Questions