Sha256: 9370698520ee17935be1b1f8536c025e9178120e8b8426a98992862f9ec2ffb2
Contents?: true
Size: 1.09 KB
Versions: 17
Compression:
Stored size: 1.09 KB
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| %> <div class="form-group"> <%= f.text_field :username, placeholder: 'Username' %> <%= f.select :role, OpenStax::Accounts::Account.roles.keys.map{|rr| [rr, rr]} %> <%= 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.dev_accounts_path, search_results_partial: 'openstax/accounts/dev/accounts/search_results', remote: true, method: :get } %> <br> </div>
Version data entries
17 entries across 17 versions & 1 rubygems