app/views/admin/settings/write.html.erb in typo-5.0.2 vs app/views/admin/settings/write.html.erb in typo-5.0.3.98
- old
+ new
@@ -1,29 +1,17 @@
<% @page_heading = _('Write') %>
-
- <% content_for('tasks') do -%>
- <%= subtab _("General settings"), "", {:controller => "settings"} %>
- <%= subtab _("Read"), "", { :controller => 'settings', :action => 'read' } %>
- <%= subtab _("Write"), "current", { :controller => 'settings', :action => 'write' } %>
- <%= subtab _("Feedback"), "", { :controller => 'settings', :action => 'feedback' } %>
- <%= subtab _("Spam"), "", { :controller => 'settings', :action => 'spam' } %>
- <%= subtab _("Podcasts"), "", { :controller => 'settings', :action => 'podcast' } %>
- <% end -%>
-
+ <% subtabs_for(:settings) %>
+
<% form_tag :action => 'write' do %>
<div class="admin">
<fieldset id="write" class="set">
<legend><%= _("Write")%></legend>
<ul>
<li>
<label class="float"><%= _("Editor")%>:</label>
<input type="radio" name="setting[editor]" value="2" id="editor_2" <%= 'checked="checked"' if this_blog.editor == 2 %>/>
<label for="editor_2"><%= _("Use visual rich editor")%></label>
- <span class="float">
- <input type="radio" name="setting[editor]" value="1" id="editor_1" <%= 'checked="checked"' if this_blog.editor == 1 %>/>
- <label for="editor_1"><%= _("Use simple editor with live preview (default)")%></label>
- </span>
<span class="float">
<input type="radio" name="setting[editor]" value="0" id="editor_0" <%= 'checked="checked"' if this_blog.editor == 0 %>/>
<label for="editor_0"><%= _("Use simple editor without live preview")%></label>
</span>
</li>