<%= form_tag plugin_install_from_fs_path, :multipart => true, :class => 'form-horizontal' do %>
<%= label_tag :name, 'Name', :class => 'col-sm-2 control-label' %>
<%= text_field_tag :name, '', :class => 'form-control', :placeholder => 'Plugin name' %>
<%= label_tag :name, '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 %>