Sha256: 7da5642849ec7b3571ffddc356379cdf66cbd30a5521cc43c7618bd9fd8829c2

Contents?: true

Size: 867 Bytes

Versions: 4

Compression:

Stored size: 867 Bytes

Contents

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

<%= osu.section_block "Register a new user" do %>

  <%= lev_form_for :register, url: dev_users_create_path do |f| %>

    First name <%= f.text_field :first_name %><br/>
    Last name <%= f.text_field :last_name %><br/>
    Username <%= f.text_field :username %><br/>
    Admin? <%= f.check_box :is_administrator %><br/>

    <%= submit_tag 'Register' %>
  <% end %>

<% end %>

<%= osu.section_block "Generate new users" do %>
    <%= lev_form_for :generate, url: dev_users_generate_path do |f| %>
      Generate <%= f.text_field :count, style: 'width:30px' %> user(s) <%= submit_tag 'Do it now!' %>
    <% end %>
<% end %>

<%= osu.section_block "Login as an existing user" do %>

  <%= render 'openstax/connect/users/action_search', action_search_path: dev_users_search_path %>

<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstax_connect-0.0.6 app/views/openstax/connect/dev/users/index.html.erb
openstax_connect-0.0.5 app/views/openstax/connect/dev/users/index.html.erb
openstax_connect-0.0.4 app/views/openstax/connect/dev/users/index.html.erb
openstax_connect-0.0.3 app/views/openstax/connect/dev/users/index.html.erb