Skip to content

Commit

Permalink
Set fixed width for channel dropdown in transfer step
Browse files Browse the repository at this point in the history
Fixes #645
  • Loading branch information
spalladino committed Oct 28, 2016
1 parent 6a4a55b commit dd4c435
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/call_flows/_transfer_step_template.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
%input.ux-text.w20.right{ ko(value: 'name', valueUpdate: '"afterkeydown"', css: '{ "error": is_name_invalid }')}

.content
%label Forward to
%label Forward to:
%br

%span.forwardto{ko(css: "{ orange: is_address_invalid }")}
Phone number:
Phone
%span{ko(css: "{ alert: is_address_invalid }")}
%input.ux-text.w20{ 'data-bind' => 'value: address, valueUpdate: "afterkeydown"' }
%br

%span.forwardto
Channel:
%select{ko(value: 'channel')}
Channel
%select.w20{ko(value: 'channel')}
%option{:value => nil} Use current channel
= options_from_collection_for_select(current_account.channels, 'name', 'name')
%br
Expand All @@ -38,4 +38,4 @@
%li 1 hour

.bottom-actions
%button.fdelete{ 'data-bind' => 'click: remove_with_confirm' } Remove this step
%button.fdelete{ 'data-bind' => 'click: remove_with_confirm' } Remove this step

0 comments on commit dd4c435

Please sign in to comment.