Displaying 1 result from an estimated 1 matches for "image_input".
2009 Sep 24
4
Action Controller ::MethodNotAllowed
..._to_function image_tag("/images/btn-preview.png", :border =>
0), "preview_event($(this));", :style => "padding-right:20px;" %>
<input type="image" src="/images/btn-save-draft.png" name="save"
value="Save" class="image_input"></input>
<% end -%>
the javascript functions in application.js
function preview_event(element){
element.up(''#event_form'').writeAttribute(''target'', ''_blank'');
element.up(''#event_form'').action = "pre...