Mercurial > hg > soundsoftware-site
view .svn/pristine/14/14f249183ef33935d6a7aa11b5f44b945eb0da01.svn-base @ 1080:5bd8c86cfa6a issue_540
Makes the Publication model act as an activity; overloading the default ActivitiesController#index view in the Bibliography Plugin in order to differentiate Publications from the other event types.
* Known issues:
** route to /activities is not working (only to /activity);
** publication cache needs to be implemented in the model, not in the helper;
** when a publication is added to n projects, n events are created (all with the same content).
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 22 Nov 2012 16:51:23 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
<%= error_messages_for 'document' %> <div class="box"> <!--[form:document]--> <p><label for="document_category_id"><%=l(:field_category)%></label> <%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %></p> <p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label> <%= text_field 'document', 'title', :size => 60 %></p> <p><label for="document_description"><%=l(:field_description)%></label> <%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p> <!--[eoform:document]--> </div> <%= wikitoolbar_for 'document_description' %>