Sha256: 15a45a515e60893c00fd01db84f420b5a338ad60163b223495dd61fae89b38de

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

<%=	javascript_include_tag "application" %>
<%= 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

1 entries across 1 versions & 1 rubygems

Version Path
ex_cite-1.2.7 app/views/ex_cite/cite/_external_form.html.erb