Skip to content

Instantly share code, notes, and snippets.

@danielVargas
Created June 20, 2018 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielVargas/9df27ca723f435151cd96d8b2efe4891 to your computer and use it in GitHub Desktop.
Save danielVargas/9df27ca723f435151cd96d8b2efe4891 to your computer and use it in GitHub Desktop.
Formulario de creación de pago con webpay
<!-- PAGO CON WEBPAY -->
<div id="webpay-row" class="container-fluid" align="center">
<%= form_for(@payment, html: {name: 'new_payment', class: "form-inline"}) do |f| %>
<%= image_tag('webpay_logo.png', alt: 'Logo WebPay', class: 'logo-webpay')%><br>
<input id="payment_amount" type="text" class="form-control" required='true' name="payment[webpay_amount]">
<button class="btn btn-success">Pagar con WebPay</button>
<% end %>
</div>
<!-- FIN PAGO CON WEBPAY -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment