64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
.forum_connect
|
|
|
|
%h1 Bienvenue sur le forum de Jipe
|
|
%p{:style => "margin-top:0px;margin-bottom:60px;text-align:center;"}
|
|
Un lieu de partage, convivial et solidaire, pour vous, pour eux.
|
|
|
|
|
|
-if !params[:by_facebook]
|
|
%p{:style => "text-align:center"}
|
|
=link_to i(:facebook)+raw(" ") + "Se connecter avec facebook" , "/auth/facebook?ins_forum=true" , style: "background-color:#3b5998;color:white;border:0;", class: "btn btn-lg"
|
|
|
|
-else
|
|
%p
|
|
=qit "petition-nouveau-profil-facebook-header" do
|
|
Votre compte facebook a bien été lié !
|
|
|
|
|
|
.connexion
|
|
.inner
|
|
.formtastic
|
|
%h2 Déjà inscrit ?
|
|
= form_tag forum_auths_path do
|
|
%p
|
|
= label_tag :email, "email :"
|
|
= text_field_tag :email, params[:email]
|
|
%p
|
|
= label_tag :password, "Mot de passe :"
|
|
= password_field_tag :password
|
|
%p
|
|
=check_box_tag :remember_me, 1,params[:remember_me], :style => "display:inline-block;width:auto;"
|
|
= label_tag :remember_me, "Rester connecter ?", :style => "display:inline-block;width:auto;"
|
|
|
|
%p= submit_tag "Se connecter", :class => "btn btn-primary"
|
|
|
|
%p
|
|
-if 1 == 2
|
|
Pas encore inscrit ?
|
|
=link_to "M'inscrire.", new_forum_forum_user_path
|
|
="-"
|
|
=link_to "Mot de passe perdu ?", new_forum_password_reset_path
|
|
|
|
|
|
.inscription
|
|
.inner
|
|
%h2 Pas encore inscrit ?
|
|
|
|
|
|
|
|
|
|
-@user = @user || ForumUser.new
|
|
= semantic_form_for [:forum, @user] do |f|
|
|
=f.inputs do
|
|
|
|
= f.input :firstname, :label => "Prénom"
|
|
= f.input :name, :label => "Nom"
|
|
= f.input :email, :label => "Email"
|
|
= f.input :password, :label => "Mot de passe"
|
|
= f.input :password_confirmation, :label => "Confirmation"
|
|
|
|
|
|
%br
|
|
=f.submit "Sauvegarder", :class => "btn btn-primary"
|
|
|
|
|