English 中文(简体)
如何忽视签署者
原标题:How to ignore header on Signup Page

我在网站的每一页上都制作了一个头版和曲线。 我愿在签署网页上抹去(造成多个标志的景象较差)。

页: 1

<%= provide(:title,  Sign up ) %>
<h1>Sign up</h1>

<div class="row">
  <div class="span6 offset3">
    <%= form_for(@user) do |f| %>

      <%= f.label :name %>
      <%= f.text_field :name %>

      <%= f.label :email %>
      <%= f.text_field :email %>

      <%= f.label :password %>
      <%= f.password_field :password %>

      <%= f.label :password_confirmation, "Confirmation" %>
      <%= f.password_field :password_confirmation %>

      <%= f.submit "Create my account", class: "btn btn-large btn-primary" %>
    <% end %>
  </div>
</div>

这里还有我的/app/views/layouts/applications.html.erb<>。

<!DOCTYPE html>
<html>
  <head>
    <title><%= full_title(yield(:title)) %></title>
    <%= stylesheet_link_tag    "application", media: "all" %>
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
    <%= render  layouts/shim  %>    
  </head>
  <body>
    <%= render  layouts/header  %>
    <div class="container">
      <%= yield %>
      <%= render  layouts/footer  %>
      <%= debug(params) if Rails.env.development? %>
    </div>
  </body>
</html>

<代码><%=提供布局/负责人%>称,我喜欢在我签字页上被忽略。

I m并不确定是否需要<% 和gt; statement place in the application.html.erb file,或者如果我能在某种程度上忽视新档案的负责人的话。

最佳回答
问题回答

暂无回答




相关问题
Remove ActiveRecord in Rails 3

Now that Rails 3 beta is out, I thought I d have a look at rewriting an app I have just started work on in Rails 3 beta, both to get a feel for it and get a bit of a head-start. The app uses MongoDB ...

When will you upgrade your app to Rails 3? [closed]

Now that the Rails 3 beta is here, let s take a little straw poll. Please tell us briefly what your application does and when you will upgrade it to Rails 3. Or, if you re not planning on upgrading ...

Bundler isn t loading gems

I have been having a problem with using Bundler and being able to access my gems without having to require them somewhere, as config.gem used to do that for me (as far as I know). In my Rails 3 app, I ...

bypass attr_accessible/protected in rails

I have a model that, when it instantiates an object, also creates another object with the same user id. class Foo > ActiveRecord::Base after_create: create_bar private def create_bar Bar....

concat two fields activerecord

I m so used to oracle where you can simply concat(field1, , field2) but if I m using activerecord to find the field1 and field2, and I need a space in between, how do I accomplish this? Cheers ...

热门标签