Sha256: 8712c255ae903a9f3e5bd4cc8607ba155dbc77ce2ea04f543113a17ff1c0b812

Contents?: true

Size: 654 Bytes

Versions: 7

Compression:

Stored size: 654 Bytes

Contents

<%= form_for [: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

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.1.rc6 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.rc5 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.rc4 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.rc3 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.rc2 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.beta6 app/views/alchemy/admin/resources/_form.html.erb
alchemy_cms-2.1.beta5 app/views/alchemy/admin/resources/_form.html.erb