Sha256: 25bb4f25f8b452540ef30640be0e73744c606d38026769c6d791d24afc4f91c5

Contents?: true

Size: 635 Bytes

Versions: 6

Compression:

Stored size: 635 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.index("password") %>
							<%= form.input :value, :as => :password %>
						<% else %>
							<%= form.input :value %>
					  <% end %>
						<%= form.input :note %>
				  <%- end -%>
			  
		</div>
	
	</div>

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

<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
soapbox-0.2.11 app/views/admin/settings/form.html.erb
soapbox-0.2.10 app/views/admin/settings/form.html.erb
soapbox-0.2.9 app/views/admin/settings/form.html.erb
soapbox-0.2.8 app/views/admin/settings/form.html.erb
soapbox-0.2.7 app/views/admin/settings/form.html.erb
soapbox-0.2.6 app/views/admin/settings/form.html.erb