Sha256: d09e6755b0735b3975b276f0b5be7ab86b68c4419e1ac4a1d8485742ca53e2f9

Contents?: true

Size: 1.12 KB

Versions: 11

Compression:

Stored size: 1.12 KB

Contents

= hook(:account_top_section, self, :f => f) do
  .section
    %table
      %tr
        %td(colspan="5")
          .label.top.req #{t :name}:
          = f.text_field :name, :style => "width:500px"
      %tr
        %td
          .label #{t :assigned_to}:
          = user_select(:account, User.except(current_user), current_user)
        %td= spacer
        %td
          .label #{t :category}:
          = f.select :category, Setting.unroll(:account_category), { :selected => (@account.category || "other").to_sym, :include_blank => t(:other) }, { :style => "width:160px" }
        %td= spacer
        %td
          .label #{t :rating}:
          = rating_select "account[rating]", { :id => :account_rating, :selected => @account.rating, :style => "width:160px" }

      - if Setting.background_info && Setting.background_info.include?(:account)
        %tr
          %td(colspan="5")
            .label= t(:background_info) << ':'
            = f.text_area :background_info, :style =>"width:500px", :rows => 3

      = render :partial => "/shared/tags", :locals => {:f => f, :span => 3}

      = hook(:account_top_section_bottom, self, :f => f)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 app/views/accounts/_top_section.html.haml
fat_free_crm-0.13.5 app/views/accounts/_top_section.html.haml
fat_free_crm-0.13.4 app/views/accounts/_top_section.html.haml
fat_free_crm-0.13.2 app/views/accounts/_top_section.html.haml
fat_free_crm-0.12.3 app/views/accounts/_top_section.html.haml
fat_free_crm-0.12.2 app/views/accounts/_top_section.html.haml
fat_free_crm-0.13.1 app/views/accounts/_top_section.html.haml
fat_free_crm-0.12.1 app/views/accounts/_top_section.html.haml
fat_free_crm-0.13.0 app/views/accounts/_top_section.html.haml
fat_free_crm-0.12.0 app/views/accounts/_top_section.html.haml
fat_free_crm-0.11.4 app/views/accounts/_top_section.html.haml