Sha256: 430911bc8013e1a3e5a21bf1eaf0abedbdf7b947274ac60aaf21b6ff1c99641d

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

= simple_form_for(@user, url: url, method: method, :html => {:class => 'form-horizontal'}) do |f|
  = f.input :uid, :input_html => {disabled: 'disabled'}
  = f.input :first_name, :input_html => {disabled: 'disabled'}
  = f.input :last_name, :input_html => {disabled: 'disabled'}
  = f.input :email, :input_html => {disabled: 'disabled'}
  = f.input :phone, :input_html => {disabled: 'disabled'}
  = f.input :last_login_at, as: :string, :input_html => {disabled: 'disabled', value: datetime_to_s(@user.last_login_at, :long)}
  = f.input :last_request_at, as: :string, :input_html => {disabled: 'disabled', value: datetime_to_s(@user.last_request_at, :long)}
  = f.input :last_logout_at, as: :string, :input_html => {disabled: 'disabled', value: datetime_to_s(@user.last_logout_at, :long)}
  = f.input :admin, :label => false, :as => :boolean, :inline_label => "Admin?"
  = f.input :inactive, :label => false, :as => :boolean, :inline_label => "Inactive User?"

  = form_actions do
    = submit_button_tag("Update User")
    = cancel_button_tag(url: ucb_rails_admin_users_path)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ucb_rails-0.0.13 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.12 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.11 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.10 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.9 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.8 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.7 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.6 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.5 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.4 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.3 app/views/ucb_rails/admin/users/_form.html.haml
ucb_rails-0.0.2 app/views/ucb_rails/admin/users/_form.html.haml