<div id="both">
<div class="blue">Themes</div>
<div class="articles">
<% for theme in @themes %>

<div class="blue"><%= theme.name %></div>
<div class="articles">
<%= form_tag( :action => 'update', "theme[value]" => theme.name) %>
<input type="submit" name="commit" value="Apply Theme" <% if theme.name == @current_theme %>disabled="true"<% end %> />
<%= end_form_tag %>
</div>
<div class="articles" style="margin-bottom:10px;position:relative;padding:5px;text-align:left;height:250px;overflow:auto">
<div class="preview"><img src="<%= url_for :action => 'preview', :theme => theme.name %>" alt="<%= theme.name %>" /></div>
<%= HtmlEngine.transform(theme.description, "markdown") %>
</div>

<% end %>
</div>

</div>