Sha256: cc160d9bfdb90df9ad78b3df2e2bbb4abda4724832ba70a7057ce82800028e26

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 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="<%= @action %>" method="<%= @method %>" class="external_form" enctype="<%= @enctype %>">
		<h2><%= @name %></h2>
		<div class="formError">
		<%= @error || flash[:error] %>
		</div>
		<fieldset>
			<legend><%= @legend %></legend>
			<%= raw build_external_form %>
			<div class="section">
				<%= submit_tag @name%>
			</div>
		</fieldset>
	</form>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

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