Sha256: 505a8bf9b53eb28a6956673671453081a48b69599723d0bc1527c86867f2ed7e
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
<%# # WebROaR - Ruby Application Server - http://webroar.in/ # Copyright (C) 2009 Goonj LLC # # This file is part of WebROaR. # # WebROaR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # WebROaR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with WebROaR. If not, see <http://www.gnu.org/licenses/>. #%> <%old_value = Headers.get_expires_value()%> <%= remote_form_for :data, :update => params[:div_id], :html => { :onsubmit => "if(!validate_headers_expire(this,'#{params[:div_id]}','#{old_value}')){return false;}"} , :url => {:controller => 'headers', :action => 'save_expires_value', :div_id => params[:div_id], :old_value => old_value} do %> <%=text_field :data, :value, :size => '10', :value => old_value%> <%=submit_tag 'Save'%> <% end %> <%= remote_form_for :cancel, :update => params[:div_id], :url => {:controller => 'headers', :action => 'cancel_expires_value_edit', :div_id => params[:div_id], :old_value => old_value} do %> <%=submit_tag 'Cancel'%> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
webroar-0.7.0 | src/admin_panel/app/views/headers/_add_expires_text_box.html.erb |