Sha256: 9c92d601791509c071452a2c83bc786d95bd13234a0113303a708cf6fd845272

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

<section>
    <header>
        <h1>#{@page_title}</h1>
    </header>

    <div class="body">
        #{form_for(
          @user,
          :method => :post,
          :action => Users::Controller::Users.r(:register),
          :id     => :register_form
        ) do |f|
          f.input_text(
            lang('users.labels.name'),
            :name,
            :required  => :required,
            :maxlength => 255,
            :tabindex  => 1,
            :autofocus => 'autofocus'
          )

          f.input_text(
            lang('users.labels.email'),
            :email,
            :required  => :required,
            :maxlength => 255
          )

          f.input_password(
            lang('users.labels.password'),
            :password,
            :required => :required,
            :value    => ''
          )

          f.input_password(
            lang('users.labels.confirm_password'),
            :confirm_password,
            :required => :required,
            :value    => ''
          )

          f.g.input(
            :type  => :submit,
            :value => lang('users.buttons.register'),
            :class => 'button'
          )

          f.g.a(
            :href  => Users::Controller::Users.r(:login),
            :title => lang('users.titles.login'),
            :class => 'button'
          ) do
            lang('users.titles.login')
          end
        end}
    </div>
</section>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/users/lib/users/view/admin/users/register.xhtml
zen-0.4.2 lib/zen/package/users/lib/users/view/admin/users/register.xhtml
zen-0.4.1 lib/zen/package/users/lib/users/view/admin/users/register.xhtml
zen-0.4 lib/zen/package/users/lib/users/view/admin/users/register.xhtml