Sha256: fd2a3d4d586b5220d5c439718b27fd12be61aa6a63d859c4efc26ef249c0b614

Contents?: true

Size: 689 Bytes

Versions: 11

Compression:

Stored size: 689 Bytes

Contents

<%= semantic_form_for([:admin, @setting]) do |form| %>

	<%= render "admin/shared/form_buttons", :form => form %>

	<%= render "admin/shared/form_errors" %>

	<div class="tabs">
		
		<ul>
			<li><a href="#tab_main">Main</a></li>
		</ul>		
	
		<div id="tab_main">
			  
			  	<%= form.inputs do -%>
						<%= form.input :name %>
						<% if !@setting.name.nil? && @setting.name.index("password") %>
							<%= form.input :value, :as => :password, :input_html => {:value => ""} %>
						<% else %>
							<%= form.input :value %>
					  <% end %>
						<%= form.input :note %>
				  <%- end -%>
			  
		</div>
	
	</div>

   <%= render "admin/shared/form_buttons", :form => form %>

<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
soapbox-0.3.1 app/views/admin/settings/form.html.erb
soapbox-0.3.0 app/views/admin/settings/form.html.erb
soapbox-0.2.24 app/views/admin/settings/form.html.erb
soapbox-0.2.23 app/views/admin/settings/form.html.erb
soapbox-0.2.21 app/views/admin/settings/form.html.erb
soapbox-0.2.20 app/views/admin/settings/form.html.erb
soapbox-0.2.18 app/views/admin/settings/form.html.erb
soapbox-0.2.16 app/views/admin/settings/form.html.erb
soapbox-0.2.15 app/views/admin/settings/form.html.erb
soapbox-0.2.14 app/views/admin/settings/form.html.erb
soapbox-0.2.12 app/views/admin/settings/form.html.erb