Sha256: faf70a428062d26e0f06e14516b5b55b8b8d58718f37c7adecb01000d52c5cfd
Contents?: true
Size: 1.36 KB
Versions: 9
Compression:
Stored size: 1.36 KB
Contents
<h2><%=t :add_new_user %></h2> <%= form_for @kryptonite_user do |form| %> <div class="tfContainer"> <%= kryptonite_text_field form, @kryptonite_user, :login, {:size => 30} %> </div> <div class="tfContainer tfContainerSecond"> <%= kryptonite_text_field form, @kryptonite_user, :name %> </div> <div class="tfContainer"> <%= kryptonite_text_field form, @kryptonite_user, :email %> </div> <div class="tfContainer tfContainerSecond"> <%= kryptonite_time_zone_select form, @kryptonite_user, :time_zone, ActiveSupport::TimeZone.us_zones %> </div> <div class="tfContainer"> <%= kryptonite_select form, @kryptonite_user, :access_level, kryptonite_get_access_level_array, {:kryptonite_label => t(:status)} %> </div> <div class="tfContainer tfContainerSecond"> </div> <div class="tfContainer"> <%= kryptonite_password_field form, @kryptonite_user, :password, {:kryptonite_label => t(:password)} %> </div> <div class="tfContainer tfContainerSecond"> <%= kryptonite_password_field form, @kryptonite_user, :password_confirmation, {:kryptonite_label => t(:confirm_password)} %> </div> <div class="clearer"></div> <p class="submits"> <%= form.submit t(:add_new_user), :class => "update" %> </p> <% end %> <%= content_for :sidebar do %> <li><%= link_to "#{kryptonite_show_icon('table')}#{t(:back_to_list)}".html_safe, kryptonite_users_path %></li> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems