Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1><%= @tituloindex; %></h1>
- <table width="600px">
- <%= form_tag({:controller => "contratos", :action => "index"}, :method => "post", :multipart => true) do %>
- <tr>
- <td><%= label_tag "coins", "Initial Coins" %></td>
- <td><%= text_field_tag "coins", "", :size => 20, :maxlenght => 5, :placeholder => "coins", :required => "required" %></td>
- </tr><tr>
- <td><%= label_tag "decimals", "decimals" %></td>
- <td><%= text_field_tag "decimals", "", :size => 20, :maxlenght => 5, :placeholder => "decimals", :required => "required" %></td>
- </tr><tr>
- <td><%= label_tag "tokenname", "Token Name" %></td>
- <td><%= text_field_tag "tokenname", "", :size => 20, :maxlenght => 5, :placeholder => "Token Name", :required => "required" %></td>
- </tr><tr>
- <td><%= label_tag "tokenpreffix", "Token Preffix" %></td>
- <td><%= text_field_tag "tokenpreffix", "", :size => 20, :maxlenght => 5, :placeholder => "Token Preffix", :required => "required" %></td>
- </tr><tr>
- <td><%= label_tag "selecttoken", "Select Token" %></td>
- <td><%= select_tag "selecttoken",
- "<option>crowdsale</option>
- <option>ShareHolder Company</option>
- <option>Simple Token</option>
- <option>Pannic</option>
- <option>comoditie</option>
- ".html_safe %></td>
- </tr><tr>
- <td><%=label_tag "documento","Documento de Identidad (Solo *.pdf o *.jpg)"%></td>
- <td><%= file_field_tag "documento", :required => "required" %></td>
- </tr>
- </table>
- <%= submit_tag "Enviar" %>
- <% end %>
- <div id="resultados" >
- <% if @coins %>
- <%= "Se han enviado #{@coins} Lescovex ha su cuenta" %>
- <% else %>
- <%= "verifique bien los datos" %>
- <% end %>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement