Sha256: baccc66551d0c4a81c223071fb46489d31a184d636cd5b0dbe12288fdb0b4e9c
Contents?: true
Size: 804 Bytes
Versions: 5
Compression:
Stored size: 804 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-submit' %></div> <%= hidden_field_tag('return_to_error', request.url ) %> <% end %> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems