app/views/openstax/connect/dev/users/index.html.erb in openstax_connect-0.0.2 vs app/views/openstax/connect/dev/users/index.html.erb in openstax_connect-0.0.3
- old
+ new
@@ -1,13 +1,12 @@
<% handler_errors.each do |error| %>
<%= error.translate %>
<% end %>
-<%= osu_section_block "Register a new user" do %>
+<%= 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/>
@@ -16,16 +15,16 @@
<%= submit_tag 'Register' %>
<% end %>
<% end %>
-<%= osu_section_block "Generate new users" do %>
+<%= 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 %>
+<%= osu.section_block "Login as an existing user" do %>
<%= render 'openstax/connect/users/action_search', action_search_path: dev_users_search_path %>
-<% end %>
\ No newline at end of file
+<% end %>