-
Notifications
You must be signed in to change notification settings - Fork 3
removed bootstrap classes from winter draft generator #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| <% elsif attribute.field_type.to_s.gsub(/_.*/, "").to_sym == :datetime -%> | ||
| <input type="datetime-local" id="<%= attribute.column_name %>_box" name="query_<%= attribute.column_name %>" | ||
| class="form-control" value="<%%= @<%= singular_table_name %>.<%= attribute.column_name %> %>"> | ||
| value="<%%= @<%= singular_table_name %>.<%= attribute.column_name %> %>"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An extraneous new line appears to have been inserted here.
|
@pmckernin Is it necessary to remove all the classes from each View, even though students will only ever get the Unless, of course, we talk about more flags this quarter. |
pmckernin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jelaniwoods That is a good question. If we do decide to start going over partials it would be good to have it match the rest of the generators. I think that we should ask @raghubetina what he thinks about removing the classes from all the partial forms as well as the show and index pages.
| for="<%= attribute.column_name %>_box"><%= attribute.column_name.humanize %></label> | ||
| <label for="<%= attribute.column_name %>_box"> | ||
| <%= attribute.column_name.humanize %> | ||
| </label> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@raghubetina The new line was put here so the opening and closing label tags would match how they are being used the same as in lines 101-103.
|
I spoke with @raghubetina about removing bootstrap from all of the draft:resource generators. Also, the extra line is to make sure our |
7f596a3 to
aff224a
Compare
This pull requests address #85. I have removed the bootstrap classes from the winter-2020 branch.