Sha256: 69a128f512988ee649fa52405c80ac09636fa6d41c9d50f45c05d32dabce51c2
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
- form_for [:admin, @user] do |f| = hidden_field "user", "lock_version" = render_region :form_top - render_region :form do |form| - form.edit_name do %p = f.label :name = f.text_field :name, :class => "textbox activate", :size => 32, :maxlength => 100 - form.edit_email do %p = f.label :email, "E-mail Address", :class => "optional" = f.text_field "email", :class => 'textbox', :size => 32, :maxlength => 255 - form.edit_username do %p = f.label :login, "Username" = f.text_field "login", :class => "textbox", :size => 32, :maxlength => 40 - form.edit_password do = render "password_fields", :f => f - form.edit_roles do %p %label.multi_option Roles = f.check_box "admin", :class => "checkbox" = f.label :admin, "Administrator", :class => "checkbox" = f.check_box "designer", :class => "checkbox" = f.label :designer, "Designer", :class => "checkbox" - form.edit_notes do %p = f.label :notes, "Notes", :class => "optional" ~ f.text_area "notes", :size => "53x4", :class => "textarea" - render_region :form_bottom do |form_bottom| - form_bottom.edit_buttons do %p.buttons = save_model_button(@user) = save_model_and_continue_editing_button(@user) or = link_to "Cancel", admin_users_path - form_bottom.edit_timestamp do = updated_stamp @user
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
radiant-rc-0.9.0 | app/views/admin/users/_form.html.haml |