Sha256: 6d6fe89b8bdd0e1b10d8a272f8b828fc14b9e919ee60f0e4babea95d539cc977

Contents?: true

Size: 1.79 KB

Versions: 27

Compression:

Stored size: 1.79 KB

Contents

<H1><%=h @conf.html_title %> [<%%= submit_label %>]</H1>

<P>
<%%= mobile_navi %>
</P>

<FORM METHOD="POST" ACTION="<%=h @conf.update %>">
<INPUT TYPE="HIDDEN" NAME="old" VALUE="<%= @date.strftime( '%Y%m%d' ) %>">
<P>
<%=@csrf_protection%>
<INPUT NAME="year" TABINDEX="1" ACCESSKEY="Y" SIZE="4" VALUE="<%= @date.year %>">年
<INPUT NAME="month" TABINDEX="2" ACCESSKEY="M" SIZE="2" VALUE="<%= @date.mon %>">月
<INPUT NAME="day" TABINDEX="3" ACCESSKEY="D" SIZE="2" VALUE="<%= @date.day %>">日
<INPUT TYPE="SUBMIT" TABINDEX="4" ACCESSKEY="e" NAME="edit" VALUE="この日付の日記を編集">
</P>
<P>タイトル: <INPUT NAME="title" TABINDEX="5" ACCESSKEY="T" SIZE="40" VALUE="<%=h @diary.title %>"></P>
<P>本文(<%=h @conf.style %>スタイル):<BR>
<TEXTAREA NAME="body" TABINDEX="6" ACCESSKEY="C" COLS="100%" ROWS="5"><%=h @diary.to_src %></TEXTAREA></P>
<P><INPUT TYPE="SUBMIT" TABINDEX="7" ACCESSKEY="A" NAME="<%%= submit_command %>" VALUE=" <%%= submit_label %> "></P>
<P><INPUT TYPE="CHECKBOX" NAME="hide" VALUE="true" <% unless @diary.visible? then %>checked <% end %>TABINDEX="8" ACCESSKEY="H">隠す</P>
</FORM>

<FORM METHOD="POST" ACTION="<%=h @conf.update %>">
<%=@csrf_protection%>
<INPUT TYPE="HIDDEN" NAME="year" VALUE="<%= @date.year %>">
<INPUT TYPE="HIDDEN" NAME="month" VALUE="<%= @date.month %>">
<INPUT TYPE="HIDDEN" NAME="day" VALUE="<%= @date.day %>">
<P><%%=comment_today%></P><%
idx = 0
@diary.each_comment do |comment| %>
	<P>
		<INPUT TYPE="CHECKBOX" NAME="<%= idx += 1 %>" VALUE="true"<% if comment.visible? then %> checked<% end %>>
		<%=h comment.name %>
		(<%= comment.date.strftime( '%m-%d %H:%M' ) %>)
	</P>
	<P><%= comment.shorten( 200 ).make_link %></P><%
end %>
<% if idx > 0 then %><P><INPUT TYPE="SUBMIT" NAME="comment" VALUE="ツッコミ表示状態変更"></P><% end %>
</FORM>
<HR>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
tdiary-4.1.3 views/i.update.rhtml
tdiary-4.1.2 views/i.update.rhtml
tdiary-4.1.1 views/i.update.rhtml
tdiary-4.1.0 views/i.update.rhtml
tdiary-4.1.0.20141126 views/i.update.rhtml
tdiary-4.0.5.1 skel/i.update.rhtml
tdiary-4.0.5 skel/i.update.rhtml
tdiary-4.0.4 skel/i.update.rhtml
tdiary-4.0.3 skel/i.update.rhtml
tdiary-4.0.2.20140201 skel/i.update.rhtml
tdiary-4.0.2 skel/i.update.rhtml
tdiary-4.0.1.20131102 skel/i.update.rhtml
tdiary-4.0.1.20130929 skel/i.update.rhtml
tdiary-4.0.1.20130903 skel/i.update.rhtml
tdiary-4.0.1 skel/i.update.rhtml
tdiary-4.0.0.20130826 skel/i.update.rhtml
tdiary-4.0.0 skel/i.update.rhtml
tdiary-3.2.2.20130727 skel/i.update.rhtml
tdiary-3.2.2.20130722 skel/i.update.rhtml
tdiary-3.2.2.20130720 skel/i.update.rhtml