Sha256: 250048a8a24a7fac4c3c86cef28fca99c1bfdef5278c0710385d8f7a0299da13

Contents?: true

Size: 742 Bytes

Versions: 7

Compression:

Stored size: 742 Bytes

Contents

<%= javascript_tag do %>
	jQuery(document).ready(function($) {
		submit_external_form();
		function submit_external_form() {
			// Hide the page
			$("body").hide();
			$form = $(".external_form");
			$form.trigger("submit");
		}
	});
<% end %>
<div class="inner_form_dialog">
	<form id="<%= @id %>" action="<%= @push_to.url %>" method="<%= @push_to.method %>" class="external_form" enctype="<%= @push_to.enctype %>">
		<h2>Push to <%= @push_to.name.capitalize %></h2>
		<div class="formError">
		<%= @error || flash[:error] %>
		</div>
		<fieldset>
			<legend><%= @legend %></legend>
			<%= raw build_external_form %>
			<div class="section">
				<%= submit_tag "Push to #{@push_to.name.capitalize}"%>
			</div>
		</fieldset>
	</form>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ex_cite-1.2.6 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.2.5 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.2.4 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.2.3 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.2.2 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.2.1 app/views/ex_cite/cite/_external_form.html.erb
ex_cite-1.1.0 app/views/ex_cite/cite/_external_form.html.erb