Mercurial > hg > soundsoftware-site
view .svn/pristine/69/69920dcbdbcd687ac4b06555af482a8e6a1caf3a.svn-base @ 1459:cf78a7ade302 luisf
Merge from branch "bug_794"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:50 +0000 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
<%= error_messages_for @document %> <div class="box tabular"> <p><%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %></p> <p><%= f.text_field :title, :required => true, :size => 60 %></p> <p><%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> </div> <%= wikitoolbar_for 'document_description' %> <% if @document.new_record? %> <div class="box tabular"> <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p> </div> <% end %>