<%= form_tag plugin_install_from_fs_path, :multipart => true, :class => 'form-horizontal' do %>
<%= label_tag :key, 'Plugin key', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :key, '', :class => 'form-control', :placeholder => 'Plugin key' %>
<%= label_tag :version, 'Version', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :version, '', :class => 'form-control', :placeholder => 'Plugin version' %>
<% %w(java ruby).each do |type| %>
<%= label_tag :type do %> <%= radio_button_tag :type, type, (type == 'java') %> <%= type %> <% end %>
<% end %>
<%= label_tag :plugin, 'Plugin', :class => 'col-sm-2 control-label' %>
<%= file_field_tag 'plugin', :class => 'form-control' %>
<%= submit_tag 'Install', :class => 'btn btn-default' %>
<% end %>