diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-03-19 08:07:32 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-03-19 08:07:32 +0000 |
commit | 3c2c5fbc50d85f1275fff701f752be330c2da58a (patch) | |
tree | 8e914c09ea8efe7bf2dfe7a2101adcc6d1444fc9 /app/views | |
parent | ce622c428e2fc40c32e9ee09aafc44d739b389e3 (diff) | |
download | redmine-3c2c5fbc50d85f1275fff701f752be330c2da58a.tar.gz redmine-3c2c5fbc50d85f1275fff701f752be330c2da58a.zip |
Reindent code in documents/_form view (#36686).
git-svn-id: http://svn.redmine.org/redmine/trunk@21465 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/documents/_form.html.erb | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb index 45b63611f..ba783deb7 100644 --- a/app/views/documents/_form.html.erb +++ b/app/views/documents/_form.html.erb @@ -1,23 +1,22 @@ <%= error_messages_for @document %> <div class="box tabular"> -<p><%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %></p> -<p><%= f.text_field :title, :required => true, :size => 60 %></p> -<p><%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit', - :data => { - :auto_complete => true - } -%></p> + <p><%= f.select :category_id, DocumentCategory.active.collect {|c| [c.name, c.id]} %></p> + <p><%= f.text_field :title, :required => true, :size => 60 %></p> + <p><%= f.text_area :description, :cols => 60, :rows => 15, :class => 'wiki-edit', + :data => { + :auto_complete => true + } %></p> -<% @document.custom_field_values.each do |value| %> - <p><%= custom_field_tag_with_label :document, value %></p> -<% end %> + <% @document.custom_field_values.each do |value| %> + <p><%= custom_field_tag_with_label :document, value %></p> + <% end %> </div> <%= wikitoolbar_for 'document_description' %> <% if @document.new_record? %> -<div class="box tabular"> -<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p> -</div> + <div class="box tabular"> + <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form', :locals => {:container => @document} %></p> + </div> <% end %> |