%= form_for(@extension) do |f| %>
<% if @extension.errors.any? %>
<%= pluralize(@extension.errors.count, "error") %> prohibited this extension from being saved:
<% @extension.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :author %>
<%= f.text_field :author %>
<%= f.label :description %>
<%= f.text_area :description %>
<%= f.label :key %>
This is a unique key, which is going to be used in orbit application. e.g. For Announcement Module, the key is 'announcement'
<%= f.text_field :key %>
<%= f.label :repository %>
Repository URL of the Gem
<%= f.text_field :repository %>
<%= f.file_field :preview %>
<%= f.hidden_field :preview_cache %>
<%= f.file_field :extension %>
<%= f.hidden_field :extension_cache %>
<%= f.submit %>
<% end %>