ish_manager 0.1.8.355 → 0.1.8.356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ish_manager/application.js +67 -15
- data/app/assets/javascripts/ish_manager/email_contexts.js +1 -1
- data/app/assets/javascripts/ish_manager/email_templates.js +20 -0
- data/app/assets/stylesheets/ish_manager/application.scss +48 -9
- data/app/assets/stylesheets/ish_manager/email.scss +44 -0
- data/app/assets/stylesheets/ish_manager/{email_contexts_templates.scss → email_contexts.scss} +29 -49
- data/app/assets/stylesheets/ish_manager/email_conversations.scss +99 -21
- data/app/assets/stylesheets/ish_manager/email_templates.scss +59 -0
- data/app/assets/stylesheets/ish_manager/leads_leadsets.scss +96 -3
- data/app/assets/stylesheets/ish_manager/scheduled_actions_emails.scss +25 -0
- data/app/assets/stylesheets/ish_manager/tags.scss +5 -0
- data/app/controllers/ish_manager/application_controller.rb +15 -0
- data/app/controllers/ish_manager/email_actions_controller.rb +80 -0
- data/app/controllers/ish_manager/email_campaigns_controller.rb +13 -0
- data/app/controllers/ish_manager/email_contexts_controller.rb +41 -48
- data/app/controllers/ish_manager/email_conversations_controller.rb +6 -2
- data/app/controllers/ish_manager/email_filters_controller.rb +47 -0
- data/app/controllers/ish_manager/email_messages_controller.rb +1 -1
- data/app/controllers/ish_manager/email_templates_controller.rb +23 -10
- data/app/controllers/ish_manager/leads_controller.rb +3 -9
- data/app/controllers/ish_manager/leadset_tags_controller.rb +18 -0
- data/app/controllers/ish_manager/leadsets_controller.rb +13 -0
- data/app/controllers/ish_manager/scheduled_email_actions_controller.rb +38 -0
- data/app/helpers/ish_manager/application_helper.rb +4 -0
- data/app/mailers/ish_manager/office_mailer.rb +10 -9
- data/app/views/ish_manager/application/_debug.haml +2 -1
- data/app/views/ish_manager/application/_main_header_admin.haml +47 -60
- data/app/views/ish_manager/email_actions/_form.haml +42 -0
- data/app/views/ish_manager/email_actions/edit.haml +7 -0
- data/app/views/ish_manager/email_actions/index.haml +24 -0
- data/app/views/ish_manager/email_actions/new.haml +7 -0
- data/app/views/ish_manager/email_contexts/_form.haml +32 -30
- data/app/views/ish_manager/email_contexts/edit.haml +1 -1
- data/app/views/ish_manager/email_contexts/index.haml +27 -22
- data/app/views/ish_manager/email_contexts/show.haml +26 -15
- data/app/views/ish_manager/email_conversations/index.haml +46 -9
- data/app/views/ish_manager/email_conversations/show.haml +56 -21
- data/app/views/ish_manager/email_filters/_form.haml +12 -0
- data/app/views/ish_manager/email_filters/edit.haml +5 -0
- data/app/views/ish_manager/email_filters/index.haml +24 -0
- data/app/views/ish_manager/email_filters/new.haml +5 -0
- data/app/views/ish_manager/email_templates/_form.haml +30 -14
- data/app/views/ish_manager/email_templates/_form_reply_2_mini.haml +15 -0
- data/app/views/ish_manager/email_templates/_form_reply_mini.haml +1 -1
- data/app/views/ish_manager/email_templates/_index.haml +24 -11
- data/app/views/ish_manager/email_templates/_piousbox_roundborders.html.erb +4 -1
- data/app/views/ish_manager/email_templates/done/_form.haml +22 -0
- data/app/views/ish_manager/email_templates/done/_form2.haml +26 -0
- data/app/views/ish_manager/email_templates/edit.haml +2 -1
- data/app/views/ish_manager/email_templates/iframe_src.haml +4 -3
- data/app/views/ish_manager/email_templates/new.haml +5 -0
- data/app/views/ish_manager/email_templates/show.haml +9 -3
- data/app/views/ish_manager/leads/_form.haml +11 -6
- data/app/views/ish_manager/leads/_form_import.haml +3 -3
- data/app/views/ish_manager/leads/edit.haml +19 -16
- data/app/views/ish_manager/leads/index.haml +25 -16
- data/app/views/ish_manager/leads/new.haml +8 -7
- data/app/views/ish_manager/leadsets/index.haml +60 -12
- data/app/views/ish_manager/leadsets/index_dataTables.haml +33 -0
- data/app/views/ish_manager/scheduled_actions/_form_mini.haml +16 -0
- data/app/views/ish_manager/scheduled_email_actions/_form.haml +26 -0
- data/app/views/ish_manager/scheduled_email_actions/index.haml +15 -0
- data/app/views/ish_manager/scheduled_email_actions/new.haml +4 -0
- data/app/views/ish_manager/scheduled_email_actions/show.haml +0 -0
- data/app/views/layouts/ish_manager/application.haml +2 -2
- data/app/views/layouts/ish_manager/application_fullwidth.haml +2 -2
- data/config/routes.rb +10 -2
- metadata +30 -6
- data/app/controllers/ish_manager/office_actions_controller.rb +0 -59
- data/app/views/ish_manager/office_actions/_form.haml +0 -83
- data/app/views/ish_manager/office_actions/index.haml +0 -9
data/config/routes.rb
CHANGED
@@ -51,10 +51,11 @@ IshManager::Engine.routes.draw do
|
|
51
51
|
# office, below
|
52
52
|
#
|
53
53
|
|
54
|
-
resources :
|
54
|
+
resources :email_actions
|
55
55
|
|
56
56
|
resources :email_campaigns
|
57
57
|
resources :email_campaign_leads, as: :campaign_leads
|
58
|
+
resources :email_filters
|
58
59
|
|
59
60
|
get 'email_messages/iframe/:id', to: 'email_messages#show_iframe', as: :email_message_iframe
|
60
61
|
get 'email_messages/source/:id', to: 'email_messages#show_source', as: :email_message_source
|
@@ -64,8 +65,9 @@ IshManager::Engine.routes.draw do
|
|
64
65
|
get 'email_conversations', to: 'email_conversations#index'
|
65
66
|
get 'email_conversations/:id', to: 'email_conversations#show', as: :email_conversation
|
66
67
|
|
68
|
+
get 'email_contexts/for_lead/:lead_id', to: 'email_contexts#index', as: :email_contexts_for_lead
|
67
69
|
get 'email_contexts/iframe_src/:id', to: 'email_contexts#iframe_src', as: :email_context_iframe
|
68
|
-
get 'email_contexts/
|
70
|
+
get 'email_contexts/new_with_template/:template_slug', to: 'email_contexts#new'
|
69
71
|
post 'email_contexts/send/:id', to: 'email_contexts#do_send', as: :email_context_send
|
70
72
|
get 'email_contexts', to: 'email_contexts#index', as: :email_contexts, defaults: { notsent: false }
|
71
73
|
get 'email_contexts/notsent', to: 'email_contexts#index', as: :notsent_email_contexts, defaults: { notsent: true }
|
@@ -79,6 +81,8 @@ IshManager::Engine.routes.draw do
|
|
79
81
|
|
80
82
|
resources :email_unsubscribes
|
81
83
|
|
84
|
+
resources :lead_leadsets
|
85
|
+
|
82
86
|
get 'leads', :to => 'leads#index'
|
83
87
|
post 'leads/bulkop', to: 'leads#bulkop'
|
84
88
|
post 'leads/import', to: 'leads#import', as: :leads_import
|
@@ -86,6 +90,8 @@ IshManager::Engine.routes.draw do
|
|
86
90
|
|
87
91
|
resources :leadsets
|
88
92
|
|
93
|
+
resources :leadset_tags
|
94
|
+
|
89
95
|
|
90
96
|
resources :meetings
|
91
97
|
|
@@ -96,6 +102,8 @@ IshManager::Engine.routes.draw do
|
|
96
102
|
|
97
103
|
resources :reports
|
98
104
|
|
105
|
+
resources :scheduled_email_actions
|
106
|
+
|
99
107
|
resources :user_profiles do
|
100
108
|
resources :newsitems
|
101
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8.
|
4
|
+
version: 0.1.8.356
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -234,6 +234,7 @@ files:
|
|
234
234
|
- app/assets/images/wait.gif
|
235
235
|
- app/assets/javascripts/ish_manager/application.js
|
236
236
|
- app/assets/javascripts/ish_manager/email_contexts.js
|
237
|
+
- app/assets/javascripts/ish_manager/email_templates.js
|
237
238
|
- app/assets/javascripts/ish_manager/maps.js
|
238
239
|
- app/assets/javascripts/ish_manager/shared.js
|
239
240
|
- app/assets/javascripts/ish_manager/trash/application_materialize.js
|
@@ -266,10 +267,12 @@ files:
|
|
266
267
|
- app/assets/javascripts/ish_manager/vendor/jquery.iframe-transport.js
|
267
268
|
- app/assets/javascripts/ish_manager/vendor/jquery.ui.widget.js
|
268
269
|
- app/assets/stylesheets/ish_manager/application.scss
|
269
|
-
- app/assets/stylesheets/ish_manager/
|
270
|
+
- app/assets/stylesheets/ish_manager/email.scss
|
271
|
+
- app/assets/stylesheets/ish_manager/email_contexts.scss
|
270
272
|
- app/assets/stylesheets/ish_manager/email_conversations.scss
|
271
273
|
- app/assets/stylesheets/ish_manager/email_iframe.css
|
272
274
|
- app/assets/stylesheets/ish_manager/email_messages.scss
|
275
|
+
- app/assets/stylesheets/ish_manager/email_templates.scss
|
273
276
|
- app/assets/stylesheets/ish_manager/galleries.scss
|
274
277
|
- app/assets/stylesheets/ish_manager/jquery-ui.css
|
275
278
|
- app/assets/stylesheets/ish_manager/leads_leadsets.scss
|
@@ -278,6 +281,8 @@ files:
|
|
278
281
|
- app/assets/stylesheets/ish_manager/office.scss
|
279
282
|
- app/assets/stylesheets/ish_manager/pagination.scss
|
280
283
|
- app/assets/stylesheets/ish_manager/photos.scss
|
284
|
+
- app/assets/stylesheets/ish_manager/scheduled_actions_emails.scss
|
285
|
+
- app/assets/stylesheets/ish_manager/tags.scss
|
281
286
|
- app/assets/stylesheets/ish_manager/trash/bootstrap.css
|
282
287
|
- app/assets/stylesheets/ish_manager/trash/materialize.css
|
283
288
|
- app/assets/stylesheets/ish_manager/trash/reset.css
|
@@ -285,10 +290,12 @@ files:
|
|
285
290
|
- app/assets/stylesheets/ish_manager/videos.scss
|
286
291
|
- app/controllers/ish_manager/application_controller.rb
|
287
292
|
- app/controllers/ish_manager/categories_controller.rb
|
293
|
+
- app/controllers/ish_manager/email_actions_controller.rb
|
288
294
|
- app/controllers/ish_manager/email_campaign_leads_controller.rb
|
289
295
|
- app/controllers/ish_manager/email_campaigns_controller.rb
|
290
296
|
- app/controllers/ish_manager/email_contexts_controller.rb
|
291
297
|
- app/controllers/ish_manager/email_conversations_controller.rb
|
298
|
+
- app/controllers/ish_manager/email_filters_controller.rb
|
292
299
|
- app/controllers/ish_manager/email_messages_controller.rb
|
293
300
|
- app/controllers/ish_manager/email_templates_controller.rb
|
294
301
|
- app/controllers/ish_manager/email_unsubscribes_controller.rb
|
@@ -297,15 +304,16 @@ files:
|
|
297
304
|
- app/controllers/ish_manager/invoices_controller.rb
|
298
305
|
- app/controllers/ish_manager/iro_watches_controller.rb
|
299
306
|
- app/controllers/ish_manager/leads_controller.rb
|
307
|
+
- app/controllers/ish_manager/leadset_tags_controller.rb
|
300
308
|
- app/controllers/ish_manager/leadsets_controller.rb
|
301
309
|
- app/controllers/ish_manager/maps_controller.rb
|
302
310
|
- app/controllers/ish_manager/markers_controller.rb
|
303
311
|
- app/controllers/ish_manager/meetings_controller.rb
|
304
312
|
- app/controllers/ish_manager/newsitems_controller.rb
|
305
|
-
- app/controllers/ish_manager/office_actions_controller.rb
|
306
313
|
- app/controllers/ish_manager/payments_controller.rb
|
307
314
|
- app/controllers/ish_manager/photos_controller.rb
|
308
315
|
- app/controllers/ish_manager/reports_controller.rb
|
316
|
+
- app/controllers/ish_manager/scheduled_email_actions_controller.rb
|
309
317
|
- app/controllers/ish_manager/user_profiles_controller.rb
|
310
318
|
- app/controllers/ish_manager/videos_controller.rb
|
311
319
|
- app/helpers/ish_manager/application_helper.rb
|
@@ -368,6 +376,10 @@ files:
|
|
368
376
|
- app/views/ish_manager/application_mailer/welcome.html.erb
|
369
377
|
- app/views/ish_manager/categories/_subtree.haml
|
370
378
|
- app/views/ish_manager/categories/index.haml
|
379
|
+
- app/views/ish_manager/email_actions/_form.haml
|
380
|
+
- app/views/ish_manager/email_actions/edit.haml
|
381
|
+
- app/views/ish_manager/email_actions/index.haml
|
382
|
+
- app/views/ish_manager/email_actions/new.haml
|
371
383
|
- app/views/ish_manager/email_campaign_leads/show.haml
|
372
384
|
- app/views/ish_manager/email_contexts/_form.haml
|
373
385
|
- app/views/ish_manager/email_contexts/edit.haml
|
@@ -376,6 +388,10 @@ files:
|
|
376
388
|
- app/views/ish_manager/email_contexts/show.haml
|
377
389
|
- app/views/ish_manager/email_conversations/index.haml
|
378
390
|
- app/views/ish_manager/email_conversations/show.haml
|
391
|
+
- app/views/ish_manager/email_filters/_form.haml
|
392
|
+
- app/views/ish_manager/email_filters/edit.haml
|
393
|
+
- app/views/ish_manager/email_filters/index.haml
|
394
|
+
- app/views/ish_manager/email_filters/new.haml
|
379
395
|
- app/views/ish_manager/email_messages/_show_iframe.haml
|
380
396
|
- app/views/ish_manager/email_messages/index.haml
|
381
397
|
- app/views/ish_manager/email_messages/show.haml
|
@@ -384,6 +400,7 @@ files:
|
|
384
400
|
- app/views/ish_manager/email_messages/show_stripped.haml
|
385
401
|
- app/views/ish_manager/email_templates/_form.haml
|
386
402
|
- app/views/ish_manager/email_templates/_form_mini.haml
|
403
|
+
- app/views/ish_manager/email_templates/_form_reply_2_mini.haml
|
387
404
|
- app/views/ish_manager/email_templates/_form_reply_mini.haml
|
388
405
|
- app/views/ish_manager/email_templates/_form_schedule_mini.haml
|
389
406
|
- app/views/ish_manager/email_templates/_index.haml
|
@@ -401,9 +418,12 @@ files:
|
|
401
418
|
- app/views/ish_manager/email_templates/_slug-3.html.erb
|
402
419
|
- app/views/ish_manager/email_templates/_wasyaco_roundborders.html.erb
|
403
420
|
- app/views/ish_manager/email_templates/_wasyaco_social.html.erb
|
421
|
+
- app/views/ish_manager/email_templates/done/_form.haml
|
422
|
+
- app/views/ish_manager/email_templates/done/_form2.haml
|
404
423
|
- app/views/ish_manager/email_templates/edit.haml
|
405
424
|
- app/views/ish_manager/email_templates/iframe_src.haml
|
406
425
|
- app/views/ish_manager/email_templates/index.haml
|
426
|
+
- app/views/ish_manager/email_templates/new.haml
|
407
427
|
- app/views/ish_manager/email_templates/plain.html.erb
|
408
428
|
- app/views/ish_manager/email_templates/show.haml
|
409
429
|
- app/views/ish_manager/email_unsubscribes/new.haml
|
@@ -442,6 +462,7 @@ files:
|
|
442
462
|
- app/views/ish_manager/leadsets/_form.haml
|
443
463
|
- app/views/ish_manager/leadsets/edit.haml
|
444
464
|
- app/views/ish_manager/leadsets/index.haml
|
465
|
+
- app/views/ish_manager/leadsets/index_dataTables.haml
|
445
466
|
- app/views/ish_manager/leadsets/new.haml
|
446
467
|
- app/views/ish_manager/maps/_form.haml
|
447
468
|
- app/views/ish_manager/maps/_index_item.haml
|
@@ -467,8 +488,6 @@ files:
|
|
467
488
|
- app/views/ish_manager/newsitems/edit.haml
|
468
489
|
- app/views/ish_manager/newsitems/index.haml
|
469
490
|
- app/views/ish_manager/newsitems/new.haml
|
470
|
-
- app/views/ish_manager/office_actions/_form.haml
|
471
|
-
- app/views/ish_manager/office_actions/index.haml
|
472
491
|
- app/views/ish_manager/office_mailer/morning_reminder.haml
|
473
492
|
- app/views/ish_manager/office_mailer/render
|
474
493
|
- app/views/ish_manager/office_mailer/test_email.html.haml
|
@@ -489,6 +508,11 @@ files:
|
|
489
508
|
- app/views/ish_manager/reports/index.haml
|
490
509
|
- app/views/ish_manager/reports/new.haml
|
491
510
|
- app/views/ish_manager/reports/show.haml
|
511
|
+
- app/views/ish_manager/scheduled_actions/_form_mini.haml
|
512
|
+
- app/views/ish_manager/scheduled_email_actions/_form.haml
|
513
|
+
- app/views/ish_manager/scheduled_email_actions/index.haml
|
514
|
+
- app/views/ish_manager/scheduled_email_actions/new.haml
|
515
|
+
- app/views/ish_manager/scheduled_email_actions/show.haml
|
492
516
|
- app/views/ish_manager/trash/email_campaigns-trash/_form.haml
|
493
517
|
- app/views/ish_manager/trash/email_campaigns-trash/edit.haml
|
494
518
|
- app/views/ish_manager/trash/email_campaigns-trash/index.haml
|
@@ -1,59 +0,0 @@
|
|
1
|
-
|
2
|
-
class ::IshManager::OfficeActionsController < IshManager::ApplicationController
|
3
|
-
|
4
|
-
before_action :set_lists
|
5
|
-
|
6
|
-
## alphabetized : )
|
7
|
-
|
8
|
-
def create
|
9
|
-
# @lead = ::Lead.new params[:lead].permit!
|
10
|
-
# authorize! :create, @lead
|
11
|
-
# if @lead.save
|
12
|
-
# flash[:notice] = "created lead"
|
13
|
-
# else
|
14
|
-
# flash[:alert] = "Cannot create lead: #{@lead.errors.messages}"
|
15
|
-
# end
|
16
|
-
# redirect_to :action => 'index'
|
17
|
-
end
|
18
|
-
|
19
|
-
def edit
|
20
|
-
# @lead = ::Lead.find params[:id]
|
21
|
-
# authorize! :edit, @lead
|
22
|
-
end
|
23
|
-
|
24
|
-
def index
|
25
|
-
@actions = Office::Action.active
|
26
|
-
@new_office_action = Office::Action.new
|
27
|
-
authorize! :index, @new_office_action
|
28
|
-
end
|
29
|
-
|
30
|
-
def new
|
31
|
-
# @new_lead = ::Lead.new
|
32
|
-
# authorize! :new, @new_lead
|
33
|
-
end
|
34
|
-
|
35
|
-
def show
|
36
|
-
# authorize! :redirect, IshManager::Ability
|
37
|
-
# redirect_to :action => :edit, :id => params[:id]
|
38
|
-
end
|
39
|
-
|
40
|
-
def update
|
41
|
-
# @lead = ::Lead.find params[:id]
|
42
|
-
# authorize! :update, @lead
|
43
|
-
# if @lead.update_attributes params[:lead].permit!
|
44
|
-
# flash[:notice] = 'Successfully updated lead.'
|
45
|
-
# else
|
46
|
-
# flash[:alert] = "Cannot update lead: #{@lead.errors.messages}"
|
47
|
-
# end
|
48
|
-
# redirect_to :action => 'index'
|
49
|
-
end
|
50
|
-
|
51
|
-
private
|
52
|
-
|
53
|
-
def set_lists
|
54
|
-
super
|
55
|
-
@leadsets_list = [ [nil,nil] ] + ::Leadset.all.map { |k| [ k.name, k.id ] }
|
56
|
-
@email_campaigns_list = [ [nil,nil] ] + Ish::EmailContext.unsent_campaigns.map { |k| [ k.slug, k.id ] }
|
57
|
-
end
|
58
|
-
|
59
|
-
end
|
@@ -1,83 +0,0 @@
|
|
1
|
-
-#
|
2
|
-
-# ish_manager / office_actions / _form
|
3
|
-
-#
|
4
|
-
|
5
|
-
= form_for office_action, :html => { :multipart => true, class: 'office-actions--form' } do |f|
|
6
|
-
.row
|
7
|
-
.col-sm-6
|
8
|
-
.field
|
9
|
-
-# = f.label :map
|
10
|
-
-# = f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ), {}, class: 'select2'
|
11
|
-
.col-sm-6
|
12
|
-
= f.submit :submit
|
13
|
-
|
14
|
-
.row
|
15
|
-
.col-sm-12
|
16
|
-
An
|
17
|
-
.bordered-field
|
18
|
-
= f.label :status do
|
19
|
-
= f.check_box :status
|
20
|
-
%span Active
|
21
|
-
|
22
|
-
.input-field.input-outlined.inline
|
23
|
-
= f.select :channel, options_for_select(['email', 'email'])
|
24
|
-
-# = f.label :channel
|
25
|
-
|
26
|
-
action
|
27
|
-
.input-field.input-outlined.inline
|
28
|
-
= f.text_field :match_from, value: 'sync.com'
|
29
|
-
= f.label "From", for: :match_from
|
30
|
-
|
31
|
-
|
32
|
-
Triggers
|
33
|
-
<br />
|
34
|
-
|
35
|
-
.input-field.input-outlined.inline
|
36
|
-
= f.select :channel, options_for_select(['email', 'email'])
|
37
|
-
|
38
|
-
w/ config
|
39
|
-
.input-field.input-outlined.inline
|
40
|
-
= f.text_area :channel, value: '{ "template": "20230207-autoresponse" }'
|
41
|
-
|
42
|
-
<br />
|
43
|
-
|
44
|
-
.input-field.input-outlined.inline
|
45
|
-
= f.select :channel, options_for_select(['create_lead', 'email'])
|
46
|
-
|
47
|
-
w/ config
|
48
|
-
.input-field.input-outlined.inline
|
49
|
-
= f.text_area :channel, value: ''
|
50
|
-
|
51
|
-
.row
|
52
|
-
.col-sm-6
|
53
|
-
.field
|
54
|
-
|
55
|
-
-# .field
|
56
|
-
-# = label_tag :photo
|
57
|
-
-# = file_field_tag :photo
|
58
|
-
-# .field
|
59
|
-
-# = f.label :subhead
|
60
|
-
-# = f.text_area :subhead
|
61
|
-
-# .field
|
62
|
-
-# = f.label :descr
|
63
|
-
-# = f.text_area :descr, :class => :tinymce
|
64
|
-
|
65
|
-
-# .col-sm-6
|
66
|
-
-# .field
|
67
|
-
-# = f.label :video
|
68
|
-
-# = f.select :video_id, options_for_select( @videos_list, :selected => @newsitem.video_id ), {}, class: 'select2'
|
69
|
-
-# .field
|
70
|
-
-# = f.label :gallery
|
71
|
-
-# = f.select :gallery_id, options_for_select( @galleries_list, :selected => @newsitem.gallery_id ), {}, class: 'select2'
|
72
|
-
-# .field
|
73
|
-
-# = f.label :report
|
74
|
-
-# = f.select :report_id, options_for_select( @reports_list, :selected => @newsitem.report_id ), {}, class: 'select2'
|
75
|
-
|
76
|
-
|
77
|
-
.row
|
78
|
-
.col-sm-6
|
79
|
-
.field
|
80
|
-
-# = f.label :map
|
81
|
-
-# = f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ), {}, class: 'select2'
|
82
|
-
.col-sm-6
|
83
|
-
= f.submit :submit
|