<% fields_for :plugin do |f| %>
Where is your plugin located? <%= labelled_form_field @plugin, :root, 'Repository Root', f.text_field(:root, :class => 'required'), 'The subversion repository URL for your plugin. If your plugin uses a trunk / tags / branches structure, enter the root URL (e.g. if you have http://myrepo/svn/my_plugin/trunk then enter http://myrepo/svn/my_plugin).' %>
Optional <%= labelled_form_field @plugin, :name, 'Name', f.text_field(:name), 'The name used to install this plugin. This name must be unique. If you do not specify a name, one will be guessed based on the repository URL.' %> <%= labelled_form_field @plugin, :auto_updatable, 'Auto-update?', f.check_box(:auto_updatable, {:class => 'checkbox', :checked => true}, true, false), 'Uncheck this box if you would not like the repository to scan for updates to your plugin (including any new versions).' %>
<% end %>