Skip to content

Commit d9b0858

Browse files
committed
Update for Redmine-2.1
1 parent c3c5977 commit d9b0858

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/views/pastes/edit.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<%= render :partial => "authorship", :locals => { :paste => @paste } %>
77
</p>
88

9-
<%= labelled_tabular_form_for @paste,
9+
<%= labelled_form_for @paste,
1010
:url => { :action => "update", :id => @paste },
1111
:html => { :method => :put } do |f| %>
12-
<div class="box">
12+
<div class="box tabular">
1313
<%= hidden_field_tag "fork" %>
1414

1515
<p><%= f.text_field :title, :label => :field_paste_title %></p>

app/views/pastes/new.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
<h2><%=l :label_paste_new %></h2>
44

5-
<%= labelled_tabular_form_for @paste,
5+
<%= labelled_form_for @paste,
66
:url => { :action => "create", :project_id => @paste.project.id } do |f| %>
7-
<div class="box">
7+
<div class="box tabular">
88
<p><%= f.text_field :title, :label => :field_paste_title %></p>
99
<p><%= f.select :lang, pastebin_language_choices,
1010
:label => :field_paste_lang %></p>
1111
<p><%= f.text_area :text, :label => :field_paste_text,
1212
:rows => 25, :cols => 80 %></p>
1313
<p><%= f.check_box :secure, :label => :field_paste_secure %><br/>
1414
<%=l :paste_security_hint %></p>
15-
<p><label for="paste[expires]"><%=l :field_paste_expires %></label>
15+
<p><label for="paste_expires"><%=l :field_paste_expires %></label>
1616
<%= select_tag 'paste[expires]',
1717
options_from_collection_for_select(pastebin_expiration_choices,
1818
:last, :first) %></p>

0 commit comments

Comments
 (0)