Sha256: 5f4d4c53539575b6c16b7c7b274da4b77100c236058c3630265b3088cc1cc172
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 KB
Contents
<%= form_tag( borrow_direct_submit_path(:request_id => response.request.id, :service_id => response.service_id), :method => UmlautBorrowDirect::Engine.config.http_submit_method, :role => "form", :class => "form-horizontal borrow-direct-request-form") do %> <div class="form-group"> <div class="col-sm-7 borrow-direct-pickup-col"> <%# hidden field empty, used for JQuery Content Utility, the JS consumer may want to fill it in with a whitelisted redirect URL %> <input name="redirect" class="borrow-direct-form-redirect" type="hidden" name="redirect" value="" /> <%= select_tag "pickup_location", options_for_select(response.view_data["pickup_locations"]), :prompt => I18n.t("umlaut.services.borrow_direct_adaptor.bd_request_prompt.pickup_prompt", :default => "Please choose a delivery location"), :class => "form-control" %> </div> <div class="col-sm-5 borrow-direct-action-btn-col"> <%= submit_tag I18n.t("umlaut.services.borrow_direct_adaptor.bd_request_prompt.request", :default => "Request"), :class => "borrow-direct-action btn btn-primary" %> </div> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems