##// END OF EJS Templates
Refactor: Decouple failed attachments and the flash messages...
Refactor: Decouple failed attachments and the flash messages Attachment#attach_files will no longer need to return a flash message, instead it will put unsaved attachments into object#unsaved_attachments where the calling object can access them. A utility method #render_attachment_warning_if_needed is included for setting the standard flash warning. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3528 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r825:f55a5e45723e
r3414:fe1e3ccd1842
Show More
plugin.rhtml
10 lines | 275 B | text/html+ruby | RhtmlLexer
<h2><%= l(:label_settings) %>: <%=h @plugin.name %></h2>
<div id="settings">
<% form_tag({:action => 'plugin'}) do %>
<div class="box tabular">
<%= render :partial => @partial, :locals => {:settings => @settings}%>
</div>
<%= submit_tag l(:button_apply) %>
<% end %>
</div>