ish_manager 0.1.8.105 → 0.1.8.106

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 591877cb53ca50f7a67594c4ef9aafb91cd3e834
4
- data.tar.gz: 01b5e50e7579e8889663452d9130ad8cc1761363
3
+ metadata.gz: 2b5a05c5c96879203adbca3538ff72c83697408e
4
+ data.tar.gz: 33484780d3994b549d04e773d23f5fcf7f10defd
5
5
  SHA512:
6
- metadata.gz: fa5252887e024bc6454f1f39e062bb5a82196460037ae6163672dc82c0db6972f7648bc69cc4cbd63474529ff22e764cf4e7ca4dfe1c25da703714e0fa83ee7f
7
- data.tar.gz: 47d961cb7d06f69988358a3a607f575aa4b9f8134b32a9aee4a4043f7b249dab47e9128ad55b753d6f67549a9d7706e4a58674025ddd48e580432739a10f8e1e
6
+ metadata.gz: e595048e985d11af22140c8f98ae97b1cacd365f615f6e27e7b9afe5efa1c46a77807145c54ea665fc42c88fad930c3c142dca28978f7e6931e16849f5928d8b
7
+ data.tar.gz: cdd5ed7a2a7f38cfd4f0ba5ef5c5cc84373f5d4eb481db209c16f86ab585ddc8aea9f99ec88f862bd41fcd3f05e4feaca152f24240bd4440b06ae5d8e71539f6
@@ -1,6 +1,8 @@
1
1
 
2
2
  class IshManager::UserProfilesController < IshManager::ApplicationController
3
3
 
4
+ before_action :set_lists
5
+
4
6
  def index
5
7
  @user_profiles = IshModels::UserProfile.all.includes( :user )
6
8
  authorize! :index, IshModels::UserProfile
@@ -8,11 +8,20 @@
8
8
  .input-field
9
9
  %label email
10
10
  = f.text_field :email
11
- .a
12
- %label role name
11
+
12
+ .input-field
13
13
  = f.select :role_name, options_for_select( [[nil, nil]] + IshModels::UserProfile::ROLES.map { |r| [ r, r ] }, :selected => profile.role_name )
14
+ %label role name
15
+
16
+ .input-field
17
+ = f.select :tag, options_for_select( [[nil, nil]] + IshModels::UserProfile::TAGS.map { |r| [ r, r ] }, :selected => profile.tag )
18
+ %label Tag
14
19
 
15
- .a
20
+ .input-field
21
+ = f.select :current_city, options_for_select( @cities_list, :selected => profile.current_city_id )
22
+ %label City
23
+
24
+ .input-field
16
25
  %label About
17
26
  = f.text_area :about, :rows => 10
18
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.105
4
+ version: 0.1.8.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox