You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_attachments.html.erb 1006B

1234567891011121314151617181920212223
  1. <%= form_tag({:action => 'edit', :tab => 'attachments'}) do %>
  2. <div class="box tabular settings">
  3. <p><%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
  4. <p><%= setting_text_field :bulk_download_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
  5. <p><%= setting_text_area :attachment_extensions_allowed %>
  6. <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: txt, png</em></p>
  7. <p><%= setting_text_area :attachment_extensions_denied %>
  8. <em class="info"><%= l(:text_comma_separated) %> <%= l(:label_example) %>: js, swf</em></p>
  9. <p><%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %></p>
  10. <p><%= setting_text_field :diff_max_lines_displayed, :size => 6 %></p>
  11. <p><%= setting_text_field :repositories_encodings, :size => 60 %>
  12. <em class="info"><%= l(:text_comma_separated) %></em></p>
  13. </div>
  14. <%= submit_tag l(:button_save) %>
  15. <% end %>