edit.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
---
edit.html.erb (991B)
---
1 <h1 class='title'>Update Provider</h1>
2
3 <%= semantic_form_for(@provider) do |f| %>
4 <%= f.input :enabled, :as => :boolean %>
5 <%= f.input :name, :as => :string, :label => 'Name', :hint => 'A friendly name for this provider', :autofocus => true %>
6 <%= f.input :host, :as => :string, :label => 'IAX2 Server', :hint => 'The IP address or hostname of the IAX2 service' %>
7 <%= f.input :port, :as => :number, :label => 'IAX2 Port', :hint => 'The port of the IAX2 service' %>
8 <%= f.input :user, :as => :string, :label => 'Username' %>
9 <%= f.input :pass, :as => :string, :label => 'Password', :input_html => { :autocomplete => false } %>
10 <%= f.input :lines, :as => :number, :label => 'Maximum Lines', :hint => 'Maximum concurrent outbound lines' %>
11
12 <%= f.action :submit, :label => 'Update', :button_html => { :class => 'btn btn-large fbtn' } %>
13 <a class="btn btn-link" href="<%= providers_path %>" rel="tooltip" title="Return to providers"><i class="fa fa-return"></i>Cancel</a>
14 <% end %>