Merge pull request #6274 from svbergerem/mobile-getting-started-input-field
Add Bootstrap classes to mobile getting started input fields
This commit is contained in:
commit
248fa9213b
1 changed files with 10 additions and 9 deletions
|
|
@ -55,13 +55,14 @@
|
|||
%p
|
||||
!= 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
|
||||
= label_tag 'profile[first_name]', t('profiles.edit.your_name'), class: "bootstrapped"
|
||||
= text_field_tag 'profile[first_name]', current_user.first_name
|
||||
.clearfix.visible-xs-block
|
||||
= label_tag :your_photo, t('profiles.edit.your_photo'), class: "bootstrapped"
|
||||
= render 'photos/new_profile_photo', aspect: :getting_started, person: current_user.person
|
||||
.form-group
|
||||
= label_tag "profile[first_name]", t("profiles.edit.your_name")
|
||||
= text_field_tag "profile[first_name]", current_user.first_name, class: "form-control"
|
||||
.form-group
|
||||
= label_tag :your_photo, t("profiles.edit.your_photo")
|
||||
= render "photos/new_profile_photo", aspect: :getting_started, person: current_user.person
|
||||
|
||||
%h2
|
||||
= t('.what_are_you_in_to')
|
||||
|
|
@ -69,10 +70,10 @@
|
|||
%p
|
||||
= 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
|
||||
= label_tag 'follow_tags', t('.hashtag_suggestions'), class: "bootstrapped"
|
||||
= text_field_tag 'follow_tags', nil, class: "nostrap"
|
||||
= label_tag "follow_tags", t(".hashtag_suggestions")
|
||||
= text_field_tag "follow_tags", nil, class: "nostrap form-control"
|
||||
|
||||
.center
|
||||
= link_to "#{t('.awesome_take_me_to_diaspora')} »", stream_path, id: "awesome_button", class: "btn btn-primary"
|
||||
|
|
|
|||
Loading…
Reference in a new issue