Sha256: b1d61ce4399b3fc77857c537e729e55749eaf1a314728230348cf0cc906e7e49

Contents?: true

Size: 922 Bytes

Versions: 2

Compression:

Stored size: 922 Bytes

Contents

<div class="openstax-accounts development-login">

  <% handler_errors.each do |error| %>
    <%= error.translate %>
  <% end %>

  <h3>Create an Account</h3>

  <%= lev_form_for :create,
                   url: openstax_accounts.dev_accounts_path,
                   method: :post do |f| %>

    Username
    <%= f.text_field :username, style: 'width:300px' %> 
    <%= f.submit 'Create', class: 'btn btn-primary' %>

  <% end %>

  <h3>Development Login</h3>

  <p>You need to login, but we're not connected to the Accounts server.
  Search for a user below and click the sign in link next to him or her.</p>

  <%= with_interceptor {
        render :partial => 'openstax/accounts/shared/accounts/search',
               :locals => { :search_action_path => openstax_accounts.search_dev_accounts_path,
                            :remote => true, :method => :get } } %>
  
  <br>
  <div id="search-results"></div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openstax_accounts-3.1.1 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-3.1.0 app/views/openstax/accounts/dev/accounts/index.html.erb