Mercurial > hg > soundsoftware-site
view .svn/pristine/14/14f249183ef33935d6a7aa11b5f44b945eb0da01.svn-base @ 1274:5ea1a213c7a5 redmine-2.2-integration
Removed Ajax calls taht are no longer working in Rails 3 and started migrating them; added a new javascript file - bibliography.js - to hold the new jquery js code; added the new show_bibtex_fields.js.erb file to replace the RJS code that was in the controller.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 May 2013 18:44:59 +0100 |
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' %>