forked from bofh/fetsite
meetings added, documents added
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<div class="contentbox" id="document_<%= document.id%>">
|
||||
<% image_tag("/iconnavy/time.png") %>
|
||||
<% fa_icon("calendar 2x") %>
|
||||
<%= fa_icon("file-text 2x") %>
|
||||
|
||||
<%= document.title %>
|
||||
<%= document.name %>
|
||||
<%= link_to "edit", edit_document_path(document),:remote=>true if can? :edit, document %>
|
||||
<%= link_to 'Delete', document, method: :delete, data: { confirm: 'Are you sure?' } , remote: true if can? :delete, document %>
|
||||
</div>
|
||||
|
||||
@@ -1,15 +1,9 @@
|
||||
<%= fa_icon("calendar 2x") %>
|
||||
<p id="notice"><%= notice %></p>
|
||||
|
||||
<%= semantic_form_for @calentry, :remote=>true, :html=>{:class=>"inline"} do |f| %>
|
||||
<%= semantic_form_for @document, :remote=>true, :html=>{:class=>""} do |f| %>
|
||||
|
||||
<%= f.input :start, :as => :datetimepicker %>
|
||||
<%= f.input :dauer , :as => :string, :append=>"h" %>
|
||||
<%= f.input :object_id , :as => :hidden %>
|
||||
<%= f.input :object_type , :as => :hidden %>
|
||||
<%= f.input :typ , :as => :hidden %>
|
||||
|
||||
|
||||
<%= f.action :submit, :as => :input_ %>
|
||||
<%= f.input :name %>
|
||||
<%= f.action :submit, :as => :input_ %>
|
||||
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user