Skip to content

Commit

Permalink
Merge pull request #751 from masanorihirano/develop
Browse files Browse the repository at this point in the history
Add selections of 50, 100 for the number of simulation runs
  • Loading branch information
yohm committed Jul 17, 2022
2 parents 0b206b5 + 02624aa commit 37f1fb3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/parameter_sets/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.form-group
= label_tag('num_runs', 'Target # of Runs', class: 'col-md-2 control-label')
.col-md-3
= select_tag('num_runs', options_for_select([0,1,2,3,4,5,10,20], selected: (@num_runs || 1)), class: 'form-control')
= select_tag('num_runs', options_for_select([0,1,2,3,4,5,10,20,50,100], selected: (@num_runs || 1)), class: 'form-control')
#runs_fields
= fields_for run do |builder|
= render 'runs/fields', run: builder.object, f: builder
Expand Down
2 changes: 1 addition & 1 deletion app/views/parameter_sets/_runs.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.form-group
= label_tag('num_runs', '# of Runs', class: 'col-md-2 control-label')
.col-md-3
= select_tag('num_runs', options_for_select([1,2,3,4,5,10,20]), {class: 'form-control'})
= select_tag('num_runs', options_for_select([1,2,3,4,5,10,20,50,100]), {class: 'form-control'})
= render 'runs/fields', run: run, f: f
.form-group
.col-md-4.col-md-offset-2
Expand Down
2 changes: 1 addition & 1 deletion app/views/simulators/_create_runs_on_selected_modal.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.form-group
= label_tag('num_runs', '# of Runs', class: 'col-md-2 control-label')
.col-md-3
= select_tag('num_runs', options_for_select([1,2,3,4,5,10,20]), {class: 'form-control'})
= select_tag('num_runs', options_for_select([1,2,3,4,5,10,20,50,100]), {class: 'form-control'})
= fields_for run do |builder|
= render 'runs/fields', run: run, f: builder
= hidden_field_tag "ps_ids",""
Expand Down

0 comments on commit 37f1fb3

Please sign in to comment.