Last active
January 24, 2017 13:16
-
-
Save ShaileshPrajapati-BTC/a2f8f5084b5020efae3f0ecafabe212e to your computer and use it in GitHub Desktop.
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
<h3>Convert Currency to Bitcoin</h3> | |
<div class="row"> | |
<div class="col-sm-3"> | |
<span class="label label-default">Select Currency</span> | |
<%= select_tag 'Currency', options_for_select(@Currency.keys),class:'form-control' %> | |
</div> | |
<div class = "col-sm-3"> | |
<span class="label label-default">Enter Value</span> | |
<%= text_field_tag :value,"", class: 'form-control' %> | |
</div> | |
<div class = "col-sm-3"> | |
<span class="label label-default">Convert to Bitcoin</span> | |
<%= submit_tag "Submit", :id => "convert", :class => "form-control" %> | |
</div> | |
</div> | |
<br><br> | |
<div class="row "> | |
<div class="col-sm-10 text-center"> | |
<h3 id="result"/> | |
</div> | |
</div> | |
<br><br> | |
<h3>Convert Bitcoin to Currency</h3> | |
<div class="row"> | |
<div class = "col-sm-3"> | |
<span class="label label-default">Enter Bitcoin </span> | |
<%= number_field_tag :bitcoin_value,"", class: 'form-control' %> | |
</div> | |
<div class="col-sm-3"> | |
<span class="label label-default">Select Currency</span> | |
<%= select_tag 'BCurrency', options_for_select(@Currency.keys),class:'form-control' %> | |
</div> | |
<div class = "col-sm-3"> | |
<span class="label label-default">Bitcoin to Currency</span> | |
<%= submit_tag "Submit", :id => "bittocurrency", :class => "form-control" %> | |
</div> | |
</div> | |
<br><br> | |
<div class="row "> | |
<div class="col-sm-10 text-center"> | |
<h3 id="bit_to_curr"/> | |
</div> | |
</div> | |
<br><br> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment