cirandas.net

ref: master

app/views/invite/_select_address_book.html.erb


<% header ||='h2' %>
<<%= header %>><%= _('Step 1 of 2: Select address book') %>>

<%= form_tag do %>

  <%= safe_join([
        radio_button_tag(:import_from, "manual", @import_from == "manual", :onclick => 'hide_invite_friend_login_password()') + content_tag('label', _('Manually (empty field)'), :for => "import_from_manual"),
        radio_button_tag(:import_from, "gmail", @import_from == "gmail", :onclick => 'show_invite_friend_login_password(this.value)') + content_tag('label', 'Gmail', :for => 'import_from_gmail'),
        radio_button_tag(:import_from, "yahoo", @import_from == "yahoo", :onclick => 'show_invite_friend_login_password(this.value)') + content_tag('label', 'Yahoo', :for => "import_from_yahoo"),
        radio_button_tag(:import_from, "hotmail", @import_from == "hotmail", :onclick => 'show_invite_friend_login_password(this.value)') + content_tag('label', 'Hotmail', :for => "import_from_hotmail")
      ], "\n
\n".html_safe) %>
>
<%= ui_icon('ui-icon-alert') %> <%= _('Please type your username in the format yourname@example.com') %>
<%= labelled_form_field(_("Username") + ":", text_field_tag(:login, @login)) %> <%= labelled_form_field(_("Password") + ":", password_field_tag(:password)) %>
<%= button_bar do %> <%= submit_button(:forward, _("Next")) %> <% end %>

<%= _("We won't store your password or contact anyone without your permission.") %>

<% end %>