mailr/themes/olive/views/user/setup.html.erb

21 lines
767 B
Plaintext
Raw Normal View History

2011-07-23 21:55:26 +02:00
<% content_for :title do %>
2011-08-16 20:05:58 +02:00
<%= t(:setup,:scope=>:user) %>
2011-07-23 21:55:26 +02:00
<% end %>
<div id="box">
<div class="block">
2011-08-16 20:05:58 +02:00
<div id="logo"><a href="/"><img src="<%= current_theme_image_path('logo_small.png')%>" alt="<%= t(:mailr) %>"/></a>
2011-07-23 21:55:26 +02:00
</div>
2011-08-16 20:05:58 +02:00
<h2><%= t(:setup,:scope=>:user) %></h2>
2011-07-23 21:55:26 +02:00
<div class="content">
<form action="<%=url_for(:controller => 'user', :action => 'create')%>" method="post" class="form">
2011-08-16 20:05:58 +02:00
<%= raw form_field(@user,"email",nil,"joe.doe@domain.domain",params[:user].nil? ? params[:email] : params[:user][:email]) %>
2011-07-27 20:34:30 +02:00
<%= raw form_field(@user,"first_name",nil,"Joe","") %>
<%= raw form_field(@user,"last_name",nil,"Doe","") %>
2011-08-16 20:05:58 +02:00
<%= raw form_field(@server,"name",nil,"server.domain","") %>
<%= raw form_button('send',"tick.png") %>
2011-07-23 21:55:26 +02:00
</form>
</div>
</div>
</div>