mailr/themes/olive/views/user/setup.html.erb
Wojciech Todryk 217c7a2288 contacts done
2011-08-16 20:05:58 +02:00

21 lines
767 B
Plaintext
Executable file

<% content_for :title do %>
<%= t(:setup,:scope=>:user) %>
<% end %>
<div id="box">
<div class="block">
<div id="logo"><a href="/"><img src="<%= current_theme_image_path('logo_small.png')%>" alt="<%= t(:mailr) %>"/></a>
</div>
<h2><%= t(:setup,:scope=>:user) %></h2>
<div class="content">
<form action="<%=url_for(:controller => 'user', :action => 'create')%>" method="post" class="form">
<%= raw form_field(@user,"email",nil,"joe.doe@domain.domain",params[:user].nil? ? params[:email] : params[:user][:email]) %>
<%= raw form_field(@user,"first_name",nil,"Joe","") %>
<%= raw form_field(@user,"last_name",nil,"Doe","") %>
<%= raw form_field(@server,"name",nil,"server.domain","") %>
<%= raw form_button('send',"tick.png") %>
</form>
</div>
</div>
</div>