document/meeting updates

This commit is contained in:
Andreas Stephanides
2015-01-03 10:06:58 +01:00
parent de8802c34a
commit d72f78488d
24 changed files with 278 additions and 54 deletions

View File

@@ -1,6 +0,0 @@
<h1>Editing Dokument</h1>
<%= render 'form' %>
<%= link_to 'Show', @document %> |

View File

@@ -1,8 +1,10 @@
<%= link_to "parent" , @document.parent %>
<%= link_to "show", document_path(@document), remote: true %>
<%= link_to "Write", write_document_path(@document) %>
<%= link_to "read", read_from_etherpad_document_path(@document) %>
<%= link_to "dump", dump_to_etherpad_document_path(@document) %>
<h2><%= @document.name %></h2>
<div id="">
<%= raw(@document.text) %>
<%= semantic_form_for @document, :html=>{:class=>""} do |f| %>
<%= f.input :text, :as=>:tinymce_text %>
<%= f.action :submit, :as => :input_ %>
<% end %>
<%= tinymce %>
</div>