Sha256: 023b6dff03d297b4801e36ff8c482bd850694e1db2b30bb0182d30d5e854e56f

Contents?: true

Size: 674 Bytes

Versions: 14

Compression:

Stored size: 674 Bytes

Contents

<%= form_for [resource_url_scope, :admin, resource_instance_variable], :remote => true do |f| %>
	<div id="errors" style="display: none"></div>
	<table>
		<%- resource_attributes.each do |attribute| -%>
		<tr>
			<td class="label"><%= f.send :label, attribute[:name] %></td>
			<%- if attribute[:type] == :boolean -%>
			<td class="checkbox"><%= f.send :check_box, attribute[:name] -%></td>
			<%- else -%>
			<td class="input"><%= f.send :text_field, attribute[:name], :class => 'thin_border long' -%></td>
			<%- end -%>
		</tr>
		<%- end -%>
		<tr>
			<td class="submit" colspan="2">
				<%= f.button t('save'), :class => 'button' %>
			</td>
		</tr>
	</table>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.11 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.9.1 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.5 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.4 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/resources/_form.html.erb