Sha256: 2e9f819c934336e98003fd69e1948a59bd06120bfe2eb5fa33657e9f5ecc68a4

Contents?: true

Size: 729 Bytes

Versions: 1

Compression:

Stored size: 729 Bytes

Contents

= message_block :on => [:user]

%h1 Create a new user account:

=form_for [:authengine, @user] do |f|
  %table
    %tr
      %td
        %label{:for=>"firstName"} First Name
      %td= f.text_field :firstName

    %tr
      %td
        %label{:for=>"lastName"} Last Name
      %td= f.text_field :lastName

    %tr
      %td
        %label{:for=>"email"} Email
      %td= f.text_field :email

    %tr
      %td
        %label{:for => "role_id"} Database access role
      %td
        = f.fields_for :user_roles do |role_form|
          = role_form.collection_select(:role_id, @roles, :id, :name)

  - submit_or_return_to(authengine_users_path)
%script{:type=>'text/javascript'}
  document.getElementById('user_firstName').focus()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authengine-0.0.2 app/views/authengine/users/new.html.haml