Changeset 1664

Show
Ignore:
Timestamp:
02/27/08 00:07:34 (3 months ago)
Author:
pdcawley
Message:

Fixed the form so that the extended content textarea becomes visible
at the appropriate time.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/views/admin/content/_form.html.erb

    r1649 r1664  
    1919          </label> 
    2020          <p id="extended" <%= "style='display: none;'" if @article.extended.blank? %>> 
    21             <%= t_textarea 'article', 'extended', :height => '450', :style => 'display: none;' %> 
     21            <%= t_textarea 'article', 'extended', :height => '450', :style => 'width : 90%' %> 
    2222          </p> 
    2323       </li> 
     
    2828          <select id="categories" class="large" name="categories[]" multiple="multiple" size="10" <%= "style='display:none;'" if @article.categories.blank? %>> 
    2929             <%= options_from_collection_for_select(@categories, "id", "name", @selected) %> 
    30                  </select> 
     30          </select> 
    3131       </li> 
    3232       <li class="paginate l" id="tags"> 
     
    5454     <p class="r"><%= save(_("Save") + " &raquo;") %></p> 
    5555  </div> 
    56        <% if this_blog.editor == 1 %> 
    57        <iframe id="preview" class="post" style="display: block;"></iframe> 
     56    <% if this_blog.editor == 1 %> 
     57    <iframe id="preview" class="post" style="display: block;"></iframe> 
    5858  <br style ="clear: both"/> 
    59        <% end %> 
     59    <% end %> 
    6060</fieldset> 
    6161