Files
spree_digital/app/views/checkout/_delivery_original.html.erb
Captain Future e6134722d4 boom
2011-04-17 16:26:36 +02:00

32 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%#
NOTE: The code below is an exact duplication of `spree_core/views/checkout/_delivery.html.erb´
We overwrote the original so we retain access to it by cloning it here.
Feel free to update the code below according to the original if needed!
%>
<fieldset id='shipping_method'>
<legend><%= t("shipping_method") %></legend>
<div class="inner">
<div id="methods">
<p class="field radios">
<% @order.rate_hash.each do |shipping_method| %>
<% next if shipping_method[:id] == @order.digital_shipping_method[:id] %>
<label>
<%= radio_button(:order, :shipping_method_id, shipping_method[:id]) %>
<%= shipping_method[:name] %> <%= number_to_currency shipping_method[:cost] %>
</label><br />
<% end %>
</p>
</div>
<% if Spree::Config[:shipping_instructions] && @order.rate_hash.present? %>
<p id="minstrs">
<%= form.label :special_instructions, t("shipping_instructions") %><br />
<%= form.text_area :special_instructions, :cols => 40, :rows => 7 %>
</p>
<% end %>
</div>
</fieldset>
<div class="form-buttons">
<input type="submit" class="continue button primary" value="<%=t("save_and_continue") %>"/>
</div>