Skip to content

Commit

Permalink
Fixes visual glitches and incorrect makup introduced by recent remova…
Browse files Browse the repository at this point in the history
…l of the visual editor on the page editing form.
  • Loading branch information
Frédéric de Villamil committed Sep 6, 2013
1 parent 68e90c7 commit d672782
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions app/views/admin/pages/_form.html.erb
Expand Up @@ -17,13 +17,8 @@

<%= render('images', { :images => @images}) unless @images.empty? %>

<div id='editor-menu'>
<ul class="nav nav-tabs">
<li id='image-link'><%= toggle_element 'carousel-wrapper', _("Images") %></li>
</ul>
</div>

<div id='editor'>
<i class='icon icon-media'></i> <span id='image-link'><%= toggle_element 'carousel-wrapper', _("Images") %></span>
<div id='quicktags'>
<script type="text/javascript">edToolbar('page_body', '<%= @page.text_filter %>');</script>
</div>
Expand All @@ -43,6 +38,7 @@
<%= check_box 'page', 'published' %>
<%= _("Online")%>
</label>
<p><span class='btn btn-mini'><%= toggle_element 'status', "OK" %></span></p>
</div>
</div>
<div class='control-group'>
Expand All @@ -51,6 +47,7 @@
<select name="page[text_filter]" id="text_filter">
<%= options_for_select text_filter_options, @page.text_filter %>
</select>
<p><span class='btn btn-mini'><%= toggle_element 'text_filter', "OK" %></span></p>
</div>
</div>
</fieldset>
Expand Down

0 comments on commit d672782

Please sign in to comment.