<% html_title l(:label_paste_new) %>

<%=l :label_paste_new %>

<%= labelled_form_for @paste, :url => { :action => "create", :project_id => @paste.project.id } do |f| %>

<%= f.text_field :title, :label => :field_paste_title %>

<%= f.check_box :secure, :label => :field_paste_secure %> <%=l :paste_security_hint %>

<%= select_tag 'paste[expires]', options_from_collection_for_select(pastebin_expiration_choices, :last, :first) %>

<%= f.select :lang, pastebin_language_choices, :label => :field_paste_lang %>

<%= f.text_area :text, :label => :field_paste_text, :rows => 25, :cols => 80 %>

<%= f.submit l(:button_paste_submit) %> <% end %>