diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index c7e3a95..1a44ecf 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -2,25 +2,28 @@ %h2 Cadastrar Usuário .row-fluid - .span6.well.offset3 - = html5_video_tag("/video.mp4", 'cadastro-video', 'video-instructions') + .span5.well + = html5_video_tag('/system/videos/cadastro.mp4', 'video-vlibras', 'video-instructions', :autoplay => 'autoplay') -.row-fluid - .well + .span7.well %h2 Dados do Usuário = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| - = f.error_notification - .span3 - = f.input :name, :label => "Nome", :required => true, :autofocus => true - = f.input :email, :required => true - = f.input :password, :required => true, :label => "Senha" - = f.input :password_confirmation, :required => true, :label => "Confirmar Senha" - .span3 - = f.input :address, :label => "Endereço", :input_html => { :rows => 4 } - = f.input :zipcode,:label => "CEP" - = f.input :phone, :label => "Telefone" - .span3 - %center - %p= f.button :submit, "Cadastrar", :class => "btn btn-large btn-primary" - = render :partial => "devise/shared/links" \ No newline at end of file + + .row-fluid + = f.error_notification + .span6 + = f.input :name, :label => "Nome", :required => true, :autofocus => true + = f.input :email, :required => true + = f.input :password, :required => true, :label => "Senha" + = f.input :password_confirmation, :required => true, :label => "Confirmar Senha" + .span6 + = f.input :address, :label => "Endereço", :input_html => { :rows => 4 } + = f.input :zipcode,:label => "CEP" + = f.input :phone, :label => "Telefone" + + .row{ :style => "margin-top: 20px;" } + .span12 + %center + %p= f.button :submit, "Cadastrar", :class => "btn btn-large btn-primary" + = render :partial => "devise/shared/links" diff --git a/app/views/devise/sessions/new.html.haml b/app/views/devise/sessions/new.html.haml index 2491ca9..7675092 100644 --- a/app/views/devise/sessions/new.html.haml +++ b/app/views/devise/sessions/new.html.haml @@ -9,8 +9,4 @@ = f.input :password, :label => "Senha", :required => false = f.input :remember_me, :label => "Lembre-me da senha", :as => :boolean if devise_mapping.rememberable? = f.button :submit, "Entrar", :class => 'btn btn-primary' - = render "devise/shared/links" - - -= javascript_include_tag "plugins/flowplayer-3.2.8.min" -= javascript_include_tag "site/user" \ No newline at end of file + = render "devise/shared/links" \ No newline at end of file -- libgit2 0.21.2