You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.erb 691B

1234567891011121314151617181920
  1. <div id="check" class="container">
  2. <div class="row">
  3. <div class="col-sm-12">
  4. <h1><%= t 'Check your domain' %></h1>
  5. <%= form_tag root_path do %>
  6. <div class="form-group">
  7. <div class="col-sm-8">
  8. <%= text_field_tag :host, nil, class: %i(form-control input-lg), placeholder: 'your-site.com' %>
  9. </div>
  10. <div class="col-sm-2">
  11. <%= select_tag :type, options_for_select({'HTTPS' => :https, 'SMTP' => :smtp, 'XMPP' => :xmpp}), class: %i(form-control input-lg) %>
  12. </div>
  13. <div class="col-sm-2">
  14. <%= submit_tag t('Test me!'), class: %i(form-control btn btn-primary input-lg pull-right) %>
  15. </div>
  16. </div>
  17. <% end %>
  18. </div>
  19. </div>
  20. </div>