Skip to content
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

Required Template Fields #258

Merged
merged 5 commits into from Aug 14, 2015
Merged

Required Template Fields #258

merged 5 commits into from Aug 14, 2015

Conversation

tpendragon
Copy link
Collaborator

This adds the ability to mark template properties as required and then enforce that when ingesting using the template.

Closes #202

</div>
</div>
<div class="panel-body">
<%= p.input :visible, :label => "Show" %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're hurting accessibility here by removing the full object name from the label. Consider a styled fieldset if you really want to convert to shorter labels.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There might also be aria attributes you can put on the panel header, but I'm not sure if those exist or are as effective as a fieldset with legend

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're the best. Will do.

jechols added a commit that referenced this pull request Aug 14, 2015
@jechols jechols merged commit c43b4a5 into master Aug 14, 2015
@jechols jechols deleted the required_terms branch August 14, 2015 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants