-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Signup modal #4196
Signup modal #4196
Conversation
Nice to see your PR. |
So you mean to say that your |
Exactly. |
Oh, I know the fix. |
Oh, could you link the PR? I'd really appreciate learning how to fix this |
Generated by 🚫 Danger |
|
Please try OR |
@JonathanXu1 https://gorails.com/forum/first-argument-in-form-cannot-contain-nil-or-be-empty |
#4196 (comment) helped resolve the first error. Would you like me to push this version of the code? |
app/views/users/_form.html.erb
Outdated
@@ -1,6 +1,5 @@ | |||
<div style="padding:10px;"> | |||
<%= form_for @user, :url => {:controller => 'users', :action => @action}, :html => {:class => "row"} do |f| %> | |||
|
|||
<%= form_for :user, :as => :user, :url => :users, :html => {:class => "form col-md-6 offset-3"} do |f| %> |
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.
Try
<%= form_for @user, :url => {:controller => 'users', :action => 'new'}, :html => {:class => "row"} do |f| %>
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.
What happens on other pages? I forget. Sorry. |
Ok, I'll fix the ui. The signup modal works fine in the /signup page, but when I move out of it the errors that we are trying to solve happen. |
You mean the /signup is working. |
AWESOME |
In mobile these changes will look not good. |
Awesome, I am sleepy, its 4:45am here. Sorry I forget about bootstrap and other html, css stuff. Can you please push the changes for both of them here? |
Please rebase your changes with the current master. |
Ensure the following before PR is merged.
As the list is long so it will be great if any GCI student will help @JonathanXu1 with the |
@jywarren as @JonathanXu1 was having tough time in removing the above errors, I helped him. Moving to #4203. @JonathanXu1 you will get credit for the frontend you have made. Please claim the issue. |
Alright, thanks for your help throughout! I can't locate the task on gci, is it a beginner task as well? |
Moving to #4203. |
Fixes #4173
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowThis is work in progress of the signup modal.