Sha256: 66291a141a5a7ad46d95c27aa163b3791e723a1e9e292b6b0ff8a3239c91d35e

Contents?: true

Size: 1007 Bytes

Versions: 31

Compression:

Stored size: 1007 Bytes

Contents

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

  <%= render partial: 'openstax/accounts/shared/attention' %>

  <h3>Create an Account</h3>

  <%= lev_form_for :create,
                   url: openstax_accounts.dev_accounts_path,
                   method: :post,
                   html: {class: 'form-inline'} do |f| %>

    <%= f.label :username %>&nbsp;
    <div class="form-group">
      <%= f.text_field :username %>&nbsp;
      <%= f.submit 'Create', class: 'btn btn-primary' %>
    </div>

  <% end %>

  <h3>Development Login</h3>

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

  <%= 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

31 entries across 31 versions & 1 rubygems

Version Path
openstax_accounts-7.5.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.4.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.3.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.2.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.1.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.0.1 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-7.0.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.4.2 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.4.1 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.4.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.3.2 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.3.1 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.3.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.2.0 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.7 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.6 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.5 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.4 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.3 app/views/openstax/accounts/dev/accounts/index.html.erb
openstax_accounts-6.1.2 app/views/openstax/accounts/dev/accounts/index.html.erb