<%= form_tag plugin_install_path, :class => 'form-horizontal' do %>
<%= label_tag :plugin_key, 'Plugin key', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :plugin_key, '', :class => 'form-control', :placeholder => 'Unique identifier for this plugin, e.g. myCompany:myPluginName', :required => true %>
<%= label_tag :plugin_version, 'Version', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :plugin_version, '', :class => 'form-control', :placeholder => 'Plugin version', :required => true %>
<%= label_tag :plugin_uri, 'URI', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :plugin_uri, '', :class => 'form-control', :placeholder => 'HTTP(S) url accessible from all Kill Bill nodes', :required => true %>
<% %w(java ruby).each do |type| %>
<%= label_tag :plugin_type do %> <%= radio_button_tag :plugin_type, type, (type == 'java') %> <%= type %> <% end %>
<% end %>
<%= submit_tag 'Install', :class => 'btn btn-default' %>
<% end %>