Sha256: 69ac3f86ff851603726ad44d46db77d00a109c5ec49a55d42dc3dd50bbd54a76
Contents?: true
Size: 1.81 KB
Versions: 3
Compression:
Stored size: 1.81 KB
Contents
<% @page_heading = _('Manage articles') %> <% subtabs_for(:content) %> <div class="list" id="articles"> <% form_remote_tag :url => {:action => 'index'}, :method => :get, :name => 'article', :update => {:success => 'articleList'}, :before => "Element.show('spinner')", :complete => "Element.hide('spinner')" \ do %> <h4 class='mt30'><label for="search"><%= _("Search articles that contains...")%></label></h4> <input id="search" type="text" name="search[searchstring]" class='small medium' /> <%= submit_tag(_("Search"), {:class => 'search'}) %> <span id='spinner' style="display:none;"><%= image_tag('spinner.gif') %></span> <table> <tr> <th><%= _("Title") %></th> <th><%= _("Categories") %></th> <th><%= _("Date") %></th> <th><%= _("Author")%></th> <th><%= _("Status") %></th> <th><%= _("Feedback")%></th> </tr> <tr class="menubar"> <td> </td> <td><%= collection_select_with_current('search', 'category', Category.all, "id", "name", @search[:category].to_i, true) %></td> <td> <%= collection_select_with_current(:search, :published_at, Article.find_by_published_at, "publication", "publication", @search[:published_at], true) %> </td> <td><%= collection_select_with_current(:search, :user_id, User.find(:all), "id", "name", @search[:user_id].to_i, true) %></td> <td> <select name="search[published]"> <option value="">Please select</option> <option value="0">Unpublished</option> <option value="1">Published</option> </select> </td> <td><input type="submit" value='<%= _("Filter") %>' /> </tr> <tbody id="articleList"> <%= render :partial => 'article_list', :object => @articles -%> </tbody> </table> <%end%> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typo-5.4.3 | app/views/admin/content/index.html.erb |
typo-5.4.2 | app/views/admin/content/index.html.erb |
typo-5.4.1 | app/views/admin/content/index.html.erb |