Sha256: e0de8dba287cc426570ea0ff04107f16872e05d7bcb139c45565570ce1dcd02f

Contents?: true

Size: 1.78 KB

Versions: 9

Compression:

Stored size: 1.78 KB

Contents

.remote
  = form_for(@user, :html => one_submit_only(:user), :remote => true) do |f|
    = link_to_close edit_user_path(@user)

    = f.error_messages :object_name => t('user')

    .section
      %table
        %tr
          %td
            .label.top #{t :first_name}:
            = f.text_field :first_name
          %td= spacer
          %td
            .label.top #{t :last_name}:
            = f.text_field :last_name
        %tr
          %td
            .label.top #{t :job_title}:
            = f.text_field :title
          %td= spacer
          %td
            .label.top #{t :company}:
            = f.text_field :company
    .subtitle #{t :contact_info}
    .section
      %table
        %tr
          %td{ :colspan => 3 }
            .label.top.req #{t :email}:
            = f.text_field :email
          %td= spacer
          %td{ :colspan => 3 }
            .label.top #{t :alt_email}:
            = f.text_field :alt_email
        %tr
          %td{ :colspan => 3 }
            .label #{t :phone}:
            = f.text_field :phone
          %td= spacer
          %td{ :colspan => 3 }
            .label #{t :mobile}:
            = f.text_field :mobile
        %tr
          %td
            .label #{t :aim}:
            = f.text_field :aim, :style => "width:112px"
          %td= spacer
          %td
            .label #{t :yahoo}:
            = f.text_field :yahoo, :style => "width:112px"
          %td= spacer
          %td
            .label #{t :google}:
            = f.text_field :google, :style => "width:112px"
          %td= spacer
          %td
            .label #{t :skype}:
            = f.text_field :skype, :style => "width:112px"

    .buttonbar
      = f.submit t :save_profile
      #{t :or}
      = link_to_cancel edit_user_path(@user)

  = hook(:profile_user_bottom, self)
%br

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fat_free_crm-0.12.3 app/views/users/_profile.html.haml
fat_free_crm-0.12.2 app/views/users/_profile.html.haml
fat_free_crm-0.12.1 app/views/users/_profile.html.haml
fat_free_crm-0.12.0 app/views/users/_profile.html.haml
fat_free_crm-0.11.4 app/views/users/_profile.html.haml
fat_free_crm-0.11.3 app/views/users/_profile.html.haml
fat_free_crm-0.11.2 app/views/users/_profile.html.haml
fat_free_crm-0.11.1 app/views/users/_profile.html.haml
fat_free_crm-0.11.0 app/views/users/_profile.html.haml