Skip to content

Commit

Permalink
move hide checkbox to right of submit button.
Browse files Browse the repository at this point in the history
git-svn-id: https://tdiary.svn.sourceforge.net/svnroot/tdiary/trunk/core@170 7f22e88f-374d-0410-998f-c91420d97ba2
  • Loading branch information
tadatadashi committed Mar 15, 2002
1 parent ad90e9f commit 2964a9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
2002.03.15 TADA Tadashi <sho@spc.gr.jp>
* tdiary.rb: fix duplicated referer on day mode.
* update.rb: move hide checkbox to right of submit button.

2002.03.14 TADA Tadashi <sho@spc.gr.jp>
* update.rhtml: remove 'class="commenttitle"' from changing comment status button.
Expand Down
5 changes: 2 additions & 3 deletions skel/update.rhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%# update.rhtml $Revision: 1.4 $ %>
<%# update.rhtml $Revision: 1.5 $ %>
<%%=navi%%>

<h1><%= @html_title %> [<%%= submit_label %%>]</h1>
Expand All @@ -14,8 +14,7 @@
<p>タイトル: <input class="field" name="title" tabindex="5" accesskey="T" size="40" value="<%= CGI::escapeHTML( @diary.title ) %>"></p>
<p>本文:<br>
<textarea name="body" tabindex="6" accesskey="C" cols="70" rows="15"><% @diary.each_paragraph do |paragraph, idx| %><%= CGI::escapeHTML( paragraph.text ) %><% end %></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"> この日の日記を隠す</a>
<p><input type="submit" tabindex="7" accesskey="A" name="<%%= submit_command %%>" value=" <%%= submit_label %%> ">&nbsp;&nbsp;この日の日記を隠す<input type="checkbox" name="hide" value="true" <% unless @diary.visible? then %>checked <% end %>tabindex="8" accesskey="H"></a>
</form>

<div class="comment"><form method="post" action="<%= @update %>">
Expand Down

0 comments on commit 2964a9a

Please sign in to comment.