Sha256: 2c3e9a933e8752447d54c24d0bb08f1ed3d6fac8600b72119e838013f6f5fdc0
Contents?: true
Size: 1.71 KB
Versions: 7
Compression:
Stored size: 1.71 KB
Contents
- form_for [:admin, @reader] do |f| = render :partial => 'avatar' unless @reader.new_record? = render_region :form_top, :locals => {:f => f} - render_region :form, :locals => {:f => f} do |form| - form.name do %p = f.label :forename = f.text_field :forename, :class => "textbox activate", :size => 32, :maxlength => 100 %p = f.label :surname = f.text_field :surname, :class => "textbox activate", :size => 32, :maxlength => 100 - form.edit_email do %p = f.label :email = f.text_field "email", :class => 'textbox', :size => 32, :maxlength => 255 - form.edit_nickname do %p = f.label :nickname = f.text_field "login", :class => 'textbox', :size => 32, :maxlength => 255 - form.edit_password do = render "password_fields", :f => f - form.edit_description do - if Radiant.config['reader.show_descriptions?'] %p = f.label :description, "Self-description", :class => "optional" ~ f.text_area "description", :size => "53x8", :class => "textarea" - form.edit_notes do %p = f.label :notes, t('reader_extension.notes'), :class => "optional" ~ f.text_area "notes", :size => "53x4", :class => "textarea" = render_region :form_additions, :locals => {:f => f} - render_region :form_bottom, :locals => {:f => f} do |form_bottom| - form_bottom.edit_buttons do %p.buttons = save_model_button(@reader) = save_model_and_continue_editing_button(@reader) = t('reader_extension.or') = link_to t('reader_extension.cancel'), admin_readers_path - form_bottom.edit_timestamp do = updated_stamp @reader
Version data entries
7 entries across 7 versions & 1 rubygems