Sha256: 5d7d7b291edeb58361cd50ebab7ed43b08455735cf903787d738f9ebff82ae3e

Contents?: true

Size: 752 Bytes

Versions: 3

Compression:

Stored size: 752 Bytes

Contents

%script#vusers_each_EJS{"type" => "text/ejs"}
  :plain
    <% list (items, function(item, index) { %>
      <tr id="user_<%= index %>">
  %td
    %i.icon-inbox
    :plain
      <%= item.email %>@<%= domain_name %>
  %td
    %i.icon-user
    :plain
      <%= item.name %>
  %td.tar
    = link_to t(".edit"), edit_domain_user_path('{domain_id}', '{id}'), :class => 'label edit-user'
    = link_to "&times;".html_safe, domain_user_path('{domain_id}', '{id}'), :class => 'rm-user', :title => t(".delete")

  :plain
      </tr>
    <% }) %>

%script#vusers_tabr_EJS{"type" => "text/ejs"}
  %tr.new

%script#vusers_form_EJS{"type" => "text/ejs"}
  %td{:colspan => "4"}
    = render :partial => '/users/form', :locals => { :virtual_user => user_ejs_object }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmails-0.2.5 app/views/users/_templates.html.haml
rmails-0.2.4 app/views/users/_templates.html.haml
rmails-0.2.3 app/views/users/_templates.html.haml