-
-
- <%= link_to t('import.import_employee'), users_import_path, class:"text-center rounded-md bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 inline-block shadow-md m-3" if current_company.paid%>
-
-
-
-
-
- Close menu
-
-
-
- <%= t('hrs.new_user') %>
-
-
- <%= form_with(model: @user, url: hrs_path, method: :post) do |f| %>
-
-
- <%= f.label t('hrs.role'), class: "text-lg block text-gray-900 dark:text-white" %>
-
-
- <%= f.select :role, User.roles.keys.map { |w| [w.humanize, w]}, {}, { class: 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5' } %>
-
-
-
-
- <%= f.text_field :name, placeholder: t('hrs.name_placeholder'), class: 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 mt-3' %>
-
-
-
- <%= f.email_field :email, placeholder: t('hrs.email_placeholder'), class: 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 mt-3' %>
-
-
- <%= f.password_field :password, placeholder: t('hrs.password_placeholder'), class: 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 my-3' %>
-
-
- <%= f.password_field :password_confirmation, placeholder: t('hrs.password_confirmation_placeholder'), class: 'bg-gray-50 border border-gray-300 text-gray-900 rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500' %>
-
-
- <%= f.submit t('hrs.new_user'), class: "cursor-pointer w-full bg-gradient-to-b from-[#18376c] form-20% to-[#3779eaa3] hover:bg-blue-900 text-white font-medium rounded-lg text-sm px-5 py-2.5 text-center" %>
-
- <% end %>
-