themen interface cleanup1

This commit is contained in:
2014-06-21 14:53:16 +05:30
parent 6fdee8a7d6
commit 6c9a1b51c4
15 changed files with 102 additions and 91 deletions

View File

@@ -1,33 +1,29 @@
<%= tinymce_assets %>
<div class="container-fluid">
<%= semantic_form_for @thema, :remote=>remote do |f| %>
<%= semantic_form_for @thema, :remote=>remote do |f| %>
<%= f.inputs do %>
<div class="row-fluid">
<div class="span6">
<%= f.input :title %>
</div>
<div class="span6">
<%= f.input :themengruppe %>
</div>
<div class="row-fluid">
<div class="span12">
<%= f.input :text, :as=>:tinymce_text,:label=>false, :input_html=>{:rows=>20} %>
</div>
</div>
</div>
<%= f.actions do %>
<%= f.action :submit, :as => :button %>
<%= f.action :cancel, :as => :link %>
<% end %>
<% end %><% end %>
<%= tinymce %>
<h2>Attachments:</h2>
<%= render :partial => "themen/select", :object => @thema,:locals =>{ :editor => :true} %>
<div class="row-fluid">
<div class="span6">
<%= f.input :title %>
</div>
<div class="span6">
<%= f.input :themengruppe %>
</div>
<div class="row-fluid">
<div class="span12">
<%= f.input :text, :as=>:tinymce_text,:label=>false, :input_html=>{:rows=>20} %>
</div>
</div>
</div>
<%= f.actions do %>
<%= f.action :submit, :as => :button %>
<%= f.action :submit, :as => :button, :label=> "&edit", :params=>{edit: true} %>
<%= f.action :cancel, :as => :link %>
<% end %>
<% end %><% end %>
<%= tinymce %>
<h2>Attachments:</h2>
<%= render :partial => "themen/select", :object => @thema,:locals =>{ :editor => :true} %>