Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Fari Liang
    @fariliang
        <!-- Signup Form -->
            <div class="signupshow-signup-form-home" id="signupshow-signup-form">    
                <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validate => true, :html => { :class => 'no_ajaxify'}) do |f| %>
                    <ol>
                        <%= f.text_field :fullname, class: "inputbox signupbox2", placeholder: "First and Last Name", :live => true %>
                    </ol>
                    <ol>
                        <%= f.text_field :email, class: "inputbox signupbox2", placeholder: "Email Address" %>
                    </ol>
                    <ol>
                        <%= f.password_field :password, class: "inputbox signupbox2", placeholder: "Password" %>
                    </ol>
                    <ol>
                        <%= f.text_field :username, class: "inputbox signupbox2",  placeholder: "Pick a username"%>
                    </ol>    
                    <div class="signupshow-signin" id="signupshow-signin" style="margin-top: 20px; margin-left: 310px;">
                        Sign In
                    </div>    
    
                    <ol style="margin-top: 15px; padding-left: 418px;">
                        <%= f.submit "JOIN", class: "btn-submit btn-submit-small btn btn-small2 btn-small-green", id:"email-signup" %>
                    </ol>
    
                    <div style="margin-top: -32px; margin-left: 280px;" id="signup-with-facebook-button">
                        <%= link_to image_tag("/assets/facebook.png"), user_omniauth_authorize_path(:facebook), class:"no_ajaxify" %>
                    </div>
                <% end %>
            </div><!-- end .signupshow-signup-form-->
    This is the Signup form.
    Fari Liang
    @fariliang
    I have sent you some materials for Saturday. Come up with a 1 minute short introduction from it, and then when we are at the table on Saturday, both of us can talk about Ratafire with those who come around.
    Fari Liang
    @fariliang
    I have also submitted the Techstars.
    Sammy khaleel
    @Sammykhaleel
    Awesome how are you doing with the API?
    Fari Liang
    @fariliang
    We have to be registered as a Solution provider, and I am talking to Amazon for it.
    Fari Liang
    @fariliang
    There is a Gem today.......omg
    This person is saving the world....
    Sammy khaleel
    @Sammykhaleel
    haha i told you some will come up with solution.
    Fari Liang
    @fariliang
    Let me see if it is possible to change the Gem to do what we want, for it may be only for the buyer -> seller actions. However, how to call the API is in the Gem...
    We should find a way to contact this person, and thank him for doing so.
    Sammy khaleel
    @Sammykhaleel
    and buy him a bear
    *beer
    Fari Liang
    @fariliang
    Yeah, if he is on Ratafire, I will subscribe to him. I am emailing him now. He is in London...
    Sammy khaleel
    @Sammykhaleel
    there is more gems will come you will see
    Fari Liang
    @fariliang
    I agree. He is the first. Let's thanking and encourage him to build it to be even better... (I suddenly think I am so evil)
    Sammy khaleel
    @Sammykhaleel
    hehe
    Fari Liang
    @fariliang
    OMG, you see why I spent the first few days in the week to learn some strategies again...now it is time to use it.
    Sammy khaleel
    @Sammykhaleel
    let's so we can practice and prepare
    Fari Liang
    @fariliang
    Sure. Do you want to practice talking about Ratafire before Saturday.
    Sammy khaleel
    @Sammykhaleel
    Tomorrow?
    Fari Liang
    @fariliang
    Good idea. Do you want to meet at the lab?
    Sammy khaleel
    @Sammykhaleel
    Sure
    Fari Liang
    @fariliang
    When?
    Sammy khaleel
    @Sammykhaleel
    Hmm idk yet
    Fari Liang
    @fariliang
    Have you done the signup page? If so, can I change some of its styling tonight?
    Sammy khaleel
    @Sammykhaleel
    Ok this what happen when implement the mobile template into fresh rails app it works but when put it in ratafire the buttons does not respond i think there is some conflict in the css, we can work on that tomorrow too.
    Fari Liang
    @fariliang
    Ok. That will do.
    Sammy khaleel
    @Sammykhaleel
    also i had to defined three methods in the application controller to make devise signup form woks outside of devise files.
    Fari Liang
    @fariliang
    You don't.
    See the def home in static_pages_controllers.rb?
    There is no method of sign up in it.
    Because the forms I showed you are devise forms.
    Sammy khaleel
    @Sammykhaleel
    Nop
    Fari Liang
    @fariliang
    They will call the devise method directly.
    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validate => true, :html => { :class => 'no_ajaxify'}) do |f| %>
    Sammy khaleel
    @Sammykhaleel
    yes
    what is resource?
    this what i meant
    will give an error if put the form like that on any page outside divise files
    anyway i get it to work with these three methods
    def resource_name    :user  end  def resource    @resource ||= User.new  end  def devise_mapping    @devise_mapping ||= Devise.mappings[:user]  end  helper_method :resource, :resource_name, :devise_mapping
    Fari Liang
    @fariliang
    Interesting, how come the one on the homepage works?
    Sammy khaleel
    @Sammykhaleel
    because you call the routes
    not the form
    Fari Liang
    @fariliang
    You are right. So calling the routes will do.
    Sammy khaleel
    @Sammykhaleel
    yes but when i do that in the mobile views will show me ratafire form theme
    Fari Liang
    @fariliang
    Ok.
    Sammy khaleel
    @Sammykhaleel
    i defently need your help with the css
    Fari Liang
    @fariliang
    Ok. We will do that as well.
    Let's meet earlier in the afternoon in the lab then.