Created
September 22, 2014 16:08
-
-
Save maier-stefan/125aba3a6dbcb3145fe1 to your computer and use it in GitHub Desktop.
Checkbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<<<<<< HEAD | |
<div class="row"> | |
<div class="col-md-6 col-sm-6 col-xs-12"> | |
<div class="checkbox"> | |
<label class="checkbox-skin" data-toggle="#billing-address"> | |
<%= f.check_box :separate_billing_address %> | |
<%= t :want_separate_billing_address %></label> | |
</div> | |
</div> | |
</div> | |
<div id="billing-address" class="hidden"> | |
======= | |
<div class="checkbox"> | |
<% if @order.separate_billing_address %> | |
<label class="checkbox-skin on" data-toggle="#billing-address"> | |
<% else%> | |
<label class="checkbox-skin off" data-toggle="#billing-address"> | |
<% end %> | |
>>>>>>> 102ef243ed3bd1fef6c691d018368c2a46deaea7 | |
<%= f.check_box :separate_billing_address, {:checked_value => @order.separate_billing_address}%> | |
<%= t :want_separate_billing_address %> | |
</label> | |
</div> | |
<% if @order.separate_billing_address %> | |
<div id="billing-address" class="visible"> | |
<% else%> | |
<div id="billing-address" class="hidden"> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment