File: i.edit.html

package info (click to toggle)
hiki 1.0.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,812 kB
  • sloc: ruby: 14,572; lisp: 926; sh: 19; makefile: 16
file content (30 lines) | stat: -rw-r--r-- 1,428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div><%= @contents[:tools] %></div>
<h1><%= @contents[:title] %></h1>
<% if @contents[:msg] %><div><strong><%= @contents[:msg] %></strong></div><% end %>
<% if @contents[:body] %><div><%= @contents[:body] %></div><% end %>
<% if @contents[:differ] %><div><%= @contents[:differ] %></div><% end %>
<form action="<%= @contents[:cgi_name] %>" method="POST">
<input type="hidden" name="p" value="<%= @contents[:pagename] %>">
<input type="hidden" name="c" value="save">
<input type="hidden" name="md5hex" value="<%= @contents[:md5hex] %>">
<input type="hidden" name="session_id" value="<%=@contents[:session_id]%>">
<a name="form"></a>
<p><%=@conf.msg_title%> <input type="text" name="page_title" size="60" value="<%= @contents[:page_title] %>"></p>
<div>
<textarea name="contents"><%= @contents[:contents] %></textarea>
</div>
<p>
<% if @contents[:preview_button] %><input type="submit" name="preview" value="<%=@conf.msg_preview_button%>"><% end %>
<% if @contents[:button] %><input type="submit" name="save" value="<%=@conf.msg_save%>"><% end %>
<input type="checkbox" name="update_timestamp" value="on"<%=@contents[:update_timestamp]%>><%=@conf.msg_update_timestamp%>
</p>
<p>
<%=@conf.msg_keyword_form%>
<textarea name="keyword"><%= @contents[:keyword] %></textarea>
</p>
<% if @plugin.admin? %>
<p>
<input type="checkbox" name="freeze" value="on"<%= @contents[:freeze] %>><%=@conf.msg_freeze_checkbox%> 
</p>
<% end %>
</form>