Sha256: a851d317ae792e4cd60639d433d0aa7dbce41cbd5be2071001c139cbe2c78385

Contents?: true

Size: 1.72 KB

Versions: 21

Compression:

Stored size: 1.72 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.edit_name do
      %p
        = f.label :name, t('name') 
        = f.text_field :name, :class => "textbox activate", :size => 32, :maxlength => 100 
    
    - form.edit_email do
      %p
        = f.label :email, t('email_address') , :class => "optional"
        = f.text_field "email", :class => 'textbox', :size => 32, :maxlength => 255

    - form.edit_username do
      %p
        = f.label :login, t('username') , :class => "optional"
        = f.text_field "login", :class => 'textbox', :size => 32, :maxlength => 255
    
    - form.edit_readername do
      %p
        = f.label :login, t('readername') 
        = f.text_field "login", :class => "textbox", :size => 32, :maxlength => 40 
    
    - form.edit_password do
      = render "password_fields", :f => f
    
    - form.edit_description do
      %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('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('or')   
        = link_to t('cancel'), admin_readers_path
    - form_bottom.edit_timestamp do
      = updated_stamp @reader

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
radiant-reader-extension-1.3.13 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.12 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.11 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.10 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.9 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.8 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.7 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.6 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.4 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.3 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.1 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.3.0 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.2.4 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.2.3 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.2.2 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.2.1 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.2.0 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.1.1 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.1.0 app/views/admin/readers/_form.html.haml
radiant-reader-extension-1.0.1 app/views/admin/readers/_form.html.haml