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

edit.html.erb 1.6KB

    <% title (t 'registration.sign_up') + ' - ' + @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: invitation_path(resource_name), :html => { :method => :put }) do |f| %> <%= render :partial => 'layouts/flash' %> <%= f.alert_message "Please fix the errors below."%> <%= content_tag(:fieldset) do %> <%= f.hidden_field :invitation_token %> <%= f.text_field :first_name, hide_label: true, placeholder: (t 'registration.first_name'), required:true, autofocus: true, class: 'input-block-level' %> <%= f.text_field :last_name, hide_label: true, placeholder: (t 'registration.last_name'), required:true, class: 'input-block-level' %> <%= f.email_field :email, required: true, hide_label: true, placeholder: (t'registration.email'), class: 'input-block-level' %> <%= f.password_field :password, hide_label: true, placeholder: (t 'registration.password'), required: true, class: 'input-block-level' %> <%= f.password_field :password_confirmation, hide_label: true, placeholder: (t 'registration.password_confirmation'), required: true, class: 'input-block-level' %> <% end%> <%= content_tag(:div, class: 'form-buttons') do %> <%= f.submit (t 'registration.sign_up_submit'), id: 'submit_registration_btn', class: 'btn inverse' %> <%= link_to (t 'registration.sign_in'), new_user_session_path, class: 'btn btn-link inverse' %> <% end%> <% end %> <% end %>