Sha256: 0c52a13c9084332c06029cbed072d5c1f6aef687bcf72840b1c1f6a8fe468225

Contents?: true

Size: 1.77 KB

Versions: 5

Compression:

Stored size: 1.77 KB

Contents

= form_for [customer_vault, @individual], html: { class: "form-horizontal"} do |f|
	.form-group
		=f.label "First name" , class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :first_name, class:"form-control"
		
	.form-group
		=f.label "Last name", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :last_name, class:"form-control"
		
	.form-group
		=f.label "Email", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :email, class:"form-control"
		
	.form-group
		=f.label "Title", class:"control-label col-lg-2"
		div class="col-lg-10"	
			=f.text_field :title, class:"form-control"
		
	.form-group
		=f.label "Twitter",class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :twitter, class:"form-control"
		
	.form-group
		=f.label "Context", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_area :context, class:"form-control"
	
	.form-group
		=f.label "Phone", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :phone, class:"form-control"
			
	.form-group
		=f.label "Fax", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :fax, class:"form-control"
			
	.form-group
		=f.label "Mobile", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :mobile, class:"form-control"
			
	.form-group
		=f.label "Web Site", class:"control-label col-lg-2"
		div class="col-lg-10"
			=f.text_field :www, class:"form-control"
	 
	= f.fields_for :address do |address_form|
     = render partial: 'dorsale/addresses/nested_form', :locals => {:f => address_form}
 	
	.actions 
		div class= "cdiv"
			= f.submit 'Valider', :class=>"btn btn-success btn-sm", id: 'submit-individual'
			= link_to 'Retour', customer_vault.people_path, :class=>"btn btn-primary btn-sm"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
customer_vault-1.0.4 app/views/customer_vault/individuals/_form.html.slim
customer_vault-1.0.3 app/views/customer_vault/individuals/_form.html.slim
customer_vault-1.0.2 app/views/customer_vault/individuals/_form.html.slim
customer_vault-1.0.1 app/views/customer_vault/individuals/_form.html.slim
customer_vault-1.0.0 app/views/customer_vault/individuals/_form.html.slim