Sha256: 575aec84410b754cf0100c4cd5dd5d6674ca18b9a0a123014969490caf980a88
Contents?: true
Size: 1.12 KB
Versions: 6
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, autofocus: true, style: "width:500px" %tr %td .label #{t :assigned_to}: = user_select(:account, User.without_user(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", class: 'select2' } %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
6 entries across 6 versions & 1 rubygems