new.html.erb - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
(HTM) git clone git://jay.scot/warvox
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
new.html.erb (905B)
---
1 <h1 class='title'>New Provider</h1>
2
3 <%= semantic_form_for(@provider) do |f| %>
4 <%= f.input :name, :as => :string, :label => 'Name', :hint => 'A friendly name for this provider', :autofocus => true %>
5 <%= f.input :host, :as => :string, :label => 'IAX2 Server', :hint => 'The IP address or hostname of the IAX2 service' %>
6 <%= f.input :port, :as => :number, :label => 'IAX2 Port', :hint => 'The port of the IAX2 service' %>
7 <%= f.input :user, :as => :string, :label => 'Username' %>
8 <%= f.input :pass, :as => :password, :label => 'Password' %>
9 <%= f.input :lines, :as => :number, :label => 'Maximum Lines', :hint => 'Maximum concurrent outbound lines' %>
10
11 <%= f.action :submit, :label => 'Create', :button_html => { :class => 'btn btn-large fbtn' } %>
12 <a class="btn btn-link" href="<%= providers_path %>" rel="tooltip" title="Return to providers"><i class="fa fa-return"></i>Cancel</a>
13 <% end %>