Sha256: e2c20fda1dbfb9e198cee5d071e23f88847ef95f66a7e5e37ea5a61017b5399c

Contents?: true

Size: 1.88 KB

Versions: 2

Compression:

Stored size: 1.88 KB

Contents

<% 
  @title = "Editing Left-Side Menu Options"
  @content_width = 700
  @hide_navigation = true
%>
<%= sub_template "top" %>

<%= render_markup_help %>

<form id="editForm" action="../save_menu" method="post">
<p>Please choose the format you prefer for the left-size menu:</p>
<p><input type="radio" name="type" value="linkers" <%= 'checked' if @menu_type == 'linkers' %>>Only pages that link other pages (default)</p>
<p><input type="radio" name="type" value="all" <%= 'checked' if @menu_type == 'all' %>>All Pages</p>
<p><input type="radio" name="type" value="revised" <%= 'checked' if @menu_type == 'revised' %>>Recently revised pages</p>
<p><input type="radio" name="type" value="recent" <%= 'checked' if @menu_type == 'recent' %>>Recently visited pages</p>
<p><input type="radio" name="type" value="viewed" <%= 'checked' if @menu_type == 'viewed' %>>Most viewed pages</p>
<p><input type="radio" name="type" value="category" <%= 'checked' if @menu_type == 'category' %>>Pages in a specific category: 
   <select id="category" name="category" size="1" style="width:190">
     <option value="noselect">------------
     <% for category in web.categories %>
       <option value="<%= category %>"><%= category %>
     <% end %>
   </select>
</p>
<p>For the above options you can choose if you want to limit the number of results. Enter the number of items you wish, or 0 for all items: <input type="textfield" size="20", name="limit" value="<%= @list_limit %>" /></p>
<p><input type="radio" name="type" value="user" <%= 'checked' if @menu_type == 'user' %>>Or just write your own menu contents (as a regular Wiki page):
    <textarea name="content" style="width: 400px; height: 300px"><%= @menu_content %></textarea>
</p>
<p>
    <input type="submit" name='action' value="Update">
    <input type="submit" name='action' value="Cancel Update">
</p>
</form>

<%= sub_template "bottom" %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
Pimki-1.1.092 app/views/wiki/edit_menu.rhtml
Pimki-1.2.092 app/views/wiki/edit_menu.rhtml