Skip to content
Extraits de code Groupes Projets
Valider 248fa921 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Merge pull request #6274 from svbergerem/mobile-getting-started-input-field

Add Bootstrap classes to mobile getting started input fields
parents 2a06d78d bc89f731
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -55,13 +55,14 @@ ...@@ -55,13 +55,14 @@
%p %p
!= t('.connect_to_facebook', link: link_to(t('.connect_to_facebook_link'), "auth/facebook?callback_url=#{getting_started_url}")) != t('.connect_to_facebook', link: link_to(t('.connect_to_facebook_link'), "auth/facebook?callback_url=#{getting_started_url}"))
= form_tag profile_path, method: :put, remote: true, id: 'edit_profile' do = form_tag profile_path, method: :put, remote: true, id: "edit_profile" do
%fieldset %fieldset
= label_tag 'profile[first_name]', t('profiles.edit.your_name'), class: "bootstrapped" .form-group
= text_field_tag 'profile[first_name]', current_user.first_name = label_tag "profile[first_name]", t("profiles.edit.your_name")
.clearfix.visible-xs-block = text_field_tag "profile[first_name]", current_user.first_name, class: "form-control"
= label_tag :your_photo, t('profiles.edit.your_photo'), class: "bootstrapped" .form-group
= render 'photos/new_profile_photo', aspect: :getting_started, person: current_user.person = label_tag :your_photo, t("profiles.edit.your_photo")
= render "photos/new_profile_photo", aspect: :getting_started, person: current_user.person
%h2 %h2
= t('.what_are_you_in_to') = t('.what_are_you_in_to')
...@@ -69,10 +70,10 @@ ...@@ -69,10 +70,10 @@
%p %p
= t('.hashtag_explanation') = t('.hashtag_explanation')
= form_tag(tag_followings_path, method: 'get', class: "tag_input search_form") do = form_tag(tag_followings_path, method: "get", class: "tag_input search_form") do
%fieldset %fieldset
= label_tag 'follow_tags', t('.hashtag_suggestions'), class: "bootstrapped" = label_tag "follow_tags", t(".hashtag_suggestions")
= text_field_tag 'follow_tags', nil, class: "nostrap" = text_field_tag "follow_tags", nil, class: "nostrap form-control"
.center .center
= link_to "#{t('.awesome_take_me_to_diaspora')} »", stream_path, id: "awesome_button", class: "btn btn-primary" = link_to "#{t('.awesome_take_me_to_diaspora')} »", stream_path, id: "awesome_button", class: "btn btn-primary"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter