Sha256: 31620942d270cba860647532d4c8d2564feee20e7683fb14cd9f8fb4bc9cd667

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

<%= form_for @user, :class => 'form-horizontal' do |f| %>
  <%= render 'invoice_bar/forms/errors', :model => @user %>

	<div class="span3">
		<h4>Konto</h4>
  	<div class="control-group">
	    <%= f.label :email, t('attributes.user.email') %>
	    <%= f.text_field :email, placeholder: t('attributes.user.email'), class: 'suggested' %>
	  </div>
	  <div class="control-group">
	    <%= f.label :password, t('attributes.user.password') %>
	    <%= f.password_field :password, placeholder: t('attributes.user.password'), class: 'suggested' %>
	  </div>
		<div class="control-group">
	    <%= f.label :name, t('attributes.user.name') %>
	    <%= f.text_field :name, placeholder: t('attributes.user.name'), class: 'suggested' %>
	  </div>
	  <div class="control-group">
	    <%= f.label :ic, t('attributes.user.ic') %>
	    <%= f.text_field :ic, placeholder: t('attributes.user.ic'), class: 'suggested' %>
	  </div>
	</div>
  <div class="span3">
	<h4>Adresa</h4>
		<%= f.fields_for :address do |f|
   			render 'invoice_bar/forms/address_fields', f: f
		end -%>
	</div>
	<div class="span10">
	   <%= f.submit I18n.t('buttons.signup'), :class => 'btn' %>
	</div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
invoice_bar-0.0.6 app/views/invoice_bar/users/_form.html.erb
invoice_bar-0.0.5 app/views/invoice_bar/users/_form.html.erb
invoice_bar-0.0.4 app/views/invoice_bar/users/_form.html.erb
invoice_bar-0.0.3 app/views/invoice_bar/users/_form.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/users/_form.html.erb