Mercurial > hg > soundsoftware-site
annotate app/views/documents/new.rhtml @ 255:a7002a8f0eca feature_80
Show a star (or similar) by active files, or a checkbox if permitted to edit them. Checkbox doesn't do anything yet
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 03 Mar 2011 19:35:02 +0000 |
parents | 513646585e45 |
children |
rev | line source |
---|---|
Chris@0 | 1 <h2><%=l(:label_document_new)%></h2> |
Chris@0 | 2 |
Chris@0 | 3 <% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %> |
Chris@0 | 4 <%= render :partial => 'documents/form' %> |
Chris@0 | 5 |
Chris@0 | 6 <div class="box"> |
Chris@0 | 7 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> |
Chris@0 | 8 </div> |
Chris@0 | 9 |
Chris@0 | 10 <%= submit_tag l(:button_create) %> |
Chris@0 | 11 <% end %> |
Chris@0 | 12 |
Chris@0 | 13 |