Skip to content

Commit

Permalink
Merge pull request #1067 from sparc-request/sj-additional_details_for…
Browse files Browse the repository at this point in the history
…m_builder_fix

SJ - 'add option' button must be outside nested item area, according to do…
  • Loading branch information
Stuart-Johnson committed Aug 17, 2017
2 parents 7506335 + 1cb194f commit 33d5c92
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/views/additional_details/questionnaires/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@
.col-sm-offset-2.col-sm-10
%span
= io.remove_nested_fields_link t(:additional_details)[:remove_option], class: 'btn btn-danger'
= i.add_nested_fields_link :item_options, 'Add another Option', class: 'btn btn-primary'
.col-sm-offset-2
.form-group
.col-sm-offset-2.col-sm-10
= i.add_nested_fields_link :item_options, 'Add another Option', class: 'btn btn-primary'
.form-group
= i.label :description, class: 'col-sm-2 control-label'
.col-sm-10
Expand All @@ -67,5 +70,5 @@
= t(:additional_details)[:view_preview]
%span.glyphicon.glyphicon-search
= link_to t(:additional_details)[:return_to_questionnaires],
service_additional_details_questionnaires_path(service),
service_additional_details_questionnaires_path(service),
class: 'btn btn-warning'

0 comments on commit 33d5c92

Please sign in to comment.