Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <h1><%= @tituloindex; %></h1>
  2. <table width="600px">
  3. <%= form_tag({:controller => "contratos", :action => "index"}, :method => "post", :multipart => true) do %>
  4. <tr>
  5. <td><%= label_tag "coins", "Initial Coins" %></td>
  6. <td><%= text_field_tag "coins", "", :size => 20, :maxlenght => 5, :placeholder => "coins", :required => "required" %></td>
  7. </tr><tr>
  8. <td><%= label_tag "decimals", "decimals" %></td>
  9. <td><%= text_field_tag "decimals", "", :size => 20, :maxlenght => 5, :placeholder => "decimals", :required => "required" %></td>
  10. </tr><tr>
  11. <td><%= label_tag "tokenname", "Token Name" %></td>
  12. <td><%= text_field_tag "tokenname", "", :size => 20, :maxlenght => 5, :placeholder => "Token Name", :required => "required" %></td>
  13. </tr><tr>
  14. <td><%= label_tag "tokenpreffix", "Token Preffix" %></td>
  15. <td><%= text_field_tag "tokenpreffix", "", :size => 20, :maxlenght => 5, :placeholder => "Token Preffix", :required => "required" %></td>
  16. </tr><tr>
  17. <td><%= label_tag "selecttoken", "Select Token" %></td>
  18. <td><%= select_tag "selecttoken",
  19. "<option>crowdsale</option>
  20. <option>ShareHolder Company</option>
  21. <option>Simple Token</option>
  22. <option>Pannic</option>
  23. <option>comoditie</option>
  24. ".html_safe %></td>
  25. </tr><tr>
  26. <td><%=label_tag "documento","Documento de Identidad (Solo *.pdf o *.jpg)"%></td>
  27. <td><%= file_field_tag "documento", :required => "required" %></td>
  28. </tr>
  29. </table>
  30. <%= submit_tag "Enviar" %>
  31. <% end %>
  32. <div id="resultados" >
  33. <% if @coins %>
  34. <%= "Se han enviado #{@coins} Lescovex ha su cuenta" %>
  35. <% else %>
  36. <%= "verifique bien los datos" %>
  37. <% end %>
  38. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement