forked from bofh/fetsite
Zeit formatiert
Datetimepicker fixed, Speichern und weiter
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<%= tinymce_assets %>
|
||||
|
||||
<div class="container-fluid">
|
||||
<%= semantic_form_for @thema, :remote=>remote do |f| %>
|
||||
<%= f.inputs do %>
|
||||
@@ -17,8 +18,8 @@
|
||||
</div>
|
||||
|
||||
<%= f.actions do %>
|
||||
<%= f.action :submit, :as => :button %>
|
||||
<%= f.action :submit, :as => :button, :label=> "&edit", :params=>{edit: true} %>
|
||||
<%= f.action :submit, :as => :button, :label=> I18n.t("thema.save" ) %>
|
||||
<%= f.action :submit, :as => :button, :label=> I18n.t("thema.savecont"), :button_html=>{:value=>"continue"} %>
|
||||
<%= f.action :cancel, :as => :link %>
|
||||
<% end %>
|
||||
<% end %><% end %>
|
||||
|
||||
@@ -23,10 +23,7 @@
|
||||
</div>
|
||||
</br>
|
||||
|
||||
<% unless @thema.id.nil? %>
|
||||
<% @att_elements = [{:icon=>:plus, :hicon=>'icon-plus', :text=>I18n.t('attachment.add'), :path=>new_thema_attachment_path(@thema),:remote=>true}] %>
|
||||
<div id="attachmentform">
|
||||
</div>
|
||||
<%= render :partial=>'layouts/pretty_toolbar', :object=>@att_elements %>
|
||||
<% end %>
|
||||
|
||||
|
||||
|
||||
<br/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div id="themaview">
|
||||
<h1>Editing thema</h1>
|
||||
<%= render 'form' , :locals=>{:remote=>false}, :remote=>false %>
|
||||
<h1><%= I18n.t("thema.edit")%></h1>
|
||||
<%= render 'form', :locals=>{:remote=>false}, :remote=>false %>
|
||||
</div>
|
||||
</br><%= link_to 'Back', @thema %>
|
||||
|
||||
Reference in New Issue
Block a user