Sha256: 5f5c93d1e23442fc960f1ce69cfb7db82360d2fbb1f9cd06b8ea1ad6abaf94ce

Contents?: true

Size: 812 Bytes

Versions: 15

Compression:

Stored size: 812 Bytes

Contents

<% if session[:edit_mode] and session[:edit_mode] > 0 %>
  <%= render partial: 'edit_stuff' %>
<% else %>
  <div id="dc-login">
    <h2><%= t('drgcms.login') %></h2>
    <%= dc_flash_messages %>   
    <%= form_tag controller: 'dc_common', action: 'process_login', return_to: '/cmsedit/login?ok=1', method: :put do %>
      <div class="label"><%= t('drgcms.username') %></div>
      <div class="input"><%= text_field('record', 'username') %></div>

      <div class="label"><%= t('drgcms.password') %></div>
      <div class="input"><%= password_field('record', 'password') %></div>
      
      <div class="label"></div>
      <div class="input"><%= submit_tag t('drgcms.login'), class: 'dc-animate-button' %></div>
      <%= hidden_field_tag('return_to_error', request.url ) %>
    <% end %>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
drg_cms-0.6.1.6 app/views/cmsedit/login.html.erb
drg_cms-0.6.1.5 app/views/cmsedit/login.html.erb
drg_cms-0.6.1.4 app/views/cmsedit/login.html.erb
drg_cms-0.6.1.1.1 app/views/cmsedit/login.html.erb
drg_cms-0.6.1.0 app/views/cmsedit/login.html.erb
drg_cms-0.6.0.8 app/views/cmsedit/login.html.erb
drg_cms-0.6.0.6 app/views/cmsedit/login.html.erb
drg_cms-0.6.0.3 app/views/cmsedit/login.html.erb
drg_cms-0.6.0.1 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.16 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.12 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.9 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.7 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.5 app/views/cmsedit/login.html.erb
drg_cms-0.5.52.3 app/views/cmsedit/login.html.erb