remove username stuff and changed heart icon

This commit is contained in:
Stephanie Wilkinson 2017-09-29 12:14:47 -07:00
parent dd38cf175f
commit a05924b94b
4 changed files with 5 additions and 8 deletions

View file

@ -9,10 +9,6 @@
.col-md-8 .col-md-8
- unless current_user - unless current_user
%legend %legend
%span
=link_to('#signup', role: 'tab', "aria-controls" => "home", "data-toggle" => "tab") do
= ENV['OSEM_NAME'] || 'OSEM'
Account
%span.pull-right#account-already %span.pull-right#account-already
=link_to('#signin', role: 'tab', "aria-controls" => "home", "data-toggle" => "tab") do =link_to('#signin', role: 'tab', "aria-controls" => "home", "data-toggle" => "tab") do
Already have an account? Already have an account?

View file

@ -6,7 +6,7 @@
.row .row
.col-md-12 .col-md-12
= semantic_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = semantic_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
= f.input :username, required: false, input_html: { autocomplete: 'off' } = f.input :username, label: "First Name", required: false, input_html: { autocomplete: 'off' }
= f.input :email, required: false, input_html: { autocomplete: 'off' } = f.input :email, required: false, input_html: { autocomplete: 'off' }
= f.input :email_public = f.input :email_public
= f.input :password, hint: "(Leave blank if you don't want to change it)", input_html: { autocomplete: 'off' } = f.input :password, hint: "(Leave blank if you don't want to change it)", input_html: { autocomplete: 'off' }

View file

@ -1,6 +1,7 @@
- unless current_user - unless current_user
= semantic_fields_for @user do |u| = semantic_fields_for @user do |u|
= u.input :username, input_html: { required: 'required', autocomplete: 'off' } = u.input :username, label: "First Name", input_html: { required: 'required', autocomplete: 'off' }
= u.input :name, label: "Last Name", input_html: { required: 'required', autocomplete: 'off' }
= u.input :email, input_html: { required: 'required', autocomplete: 'off' } = u.input :email, input_html: { required: 'required', autocomplete: 'off' }
= u.input :password, input_html: { required: 'required', autocomplete: 'off', id: 'password_inline' } = u.input :password, input_html: { required: 'required', autocomplete: 'off', id: 'password_inline' }
= u.input :password_confirmation, input_html: { required: 'required', autocomplete: 'off' } = u.input :password_confirmation, input_html: { required: 'required', autocomplete: 'off' }

View file

@ -54,12 +54,12 @@
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true' - if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
%li{class: "#{active_nav_li(new_ichain_registration_path('user'))}"} %li{class: "#{active_nav_li(new_ichain_registration_path('user'))}"}
= link_to(new_ichain_registration_path('user')) do = link_to(new_ichain_registration_path('user')) do
%span.fa.fa-heart %span.fa.fa-user-plus
Sign Up Sign Up
- else - else
%li{class: "#{active_nav_li(new_registration_path('user'))}"} %li{class: "#{active_nav_li(new_registration_path('user'))}"}
= link_to(new_registration_path('user')) do = link_to(new_registration_path('user')) do
%span.fa.fa-heart %span.fa.fa-user-plus
Sign Up Sign Up
%li.dropdown.visible-desktop %li.dropdown.visible-desktop
%a.dropdown-toggle{"data-toggle" => "dropdown", href: '#'} %a.dropdown-toggle{"data-toggle" => "dropdown", href: '#'}