projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/pull/2951' into master
[rails.git]
/
app
/
views
/
redactions
/
edit.html.erb
diff --git
a/app/views/redactions/edit.html.erb
b/app/views/redactions/edit.html.erb
index fe85d0756246f8df0c6e1f18fb7fd9aa335592ba..aff2af919936fd119ebbf14f7f4e01f3075349bf 100644
(file)
--- a/
app/views/redactions/edit.html.erb
+++ b/
app/views/redactions/edit.html.erb
@@
-1,21
+1,21
@@
-<% @title = t
'.title'
%>
+<% @title = t
".title"
%>
<% content_for :heading do %>
<% content_for :heading do %>
- <h1><%= t
'.heading'
%></h1>
+ <h1><%= t
".heading"
%></h1>
<% end %>
<% end %>
-<%= form_for(@redaction) do |f| %>
+<%= form_for(@redaction
, :html => { :class => "standard-form" }
) do |f| %>
<%= f.error_messages %>
<p>
<%= f.error_messages %>
<p>
- <%= f.label :title, t(
'.title'
) %><br />
+ <%= f.label :title, t(
".title"
) %><br />
<%= f.text_field :title %>
</p>
<p>
<%= f.text_field :title %>
</p>
<p>
- <%= f.label :description, t(
'.description'
) %><br />
+ <%= f.label :description, t(
".description"
) %><br />
<%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
</p>
<p>
<%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
</p>
<p>
- <%= f.submit
t('.submit')
%>
+ <%= f.submit %>
</p>
<% end %>
</p>
<% end %>