Sha256: 61bb69cc6e45d702b26ba121ac69e9dc434827cc105df36bc8ad0f0ece5c771d

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

<%= content_for :sub_navigation do %>	
	<h1>Nastavení</h1>
	<ul class="nav nav-pills" style="float:right;">
		<li>
	    <%= link_to 'Účty', accounts_path %>
	  </li>
	</ul>
<% end %>

<%= form_for @user 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.text_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.save'), :class => 'btn' %>
	</div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invoice_bar-0.0.3 app/views/invoice_bar/settings/index.html.erb
invoice_bar-0.0.2 app/views/invoice_bar/settings/index.html.erb
invoice_bar-0.0.1 app/views/invoice_bar/settings/index.html.erb