Main Avalanche Network server application. Built with Ruby on Rails.

new.html.erb 1.4KB

    <% title (t 'registration.sign_in') + ' - ' + @config.website_name %> <%= content_tag(:div, class: 'cover-center compact-form') do%> <%= image_tag('avalanche_network_logo_full_small.png', size: '208x150', class: 'centered')%> <%= bootstrap_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> <%= bootstrap_flash %> <%= f.alert_message "Please fix the errors below."%> <%= content_tag(:fieldset) do %> <%= f.email_field :email, required: true, hide_label: true, placeholder: (t 'registration.email'), autofocus: true, class: "input-block-level" %> <%= f.password_field :password, hide_label: true, placeholder: (t 'registration.password'), required: true, class: "input-block-level" %> <% f.check_box :remember_me, as: :boolean, label: (t 'registration.remember_me') if devise_mapping.rememberable? %> <% end%> <%= content_tag(:div, class: 'form-buttons') do %> <%= f.submit (t 'registration.sign_in_submit'), id: 'submit_login_btn', class: 'btn inverse' %> <% if @config.open_for_signup %> <%= link_to (t 'registration.sign_up'), new_user_registration_path, class: 'btn btn-link inverse', style: 'padding-left: 25px;' %> <% end %> <%= link_to (t 'registration.forgot_password'), new_user_password_path, class: 'btn btn-link inverse', id: 'btn-forgot-password' %> <% end%> <% end %> <% end %>