Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

need_label

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

need_label

  • 0.2.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

= need_label

Need_label outputs a class attribute to the indispensable input item of rails. An indispensable input can be expressed by combining with css.

= How to use

(1) Add your Gemfile. gem "need_label"

(2) Add validation on your model. class User < ActiveRecord::Base validates :name, :presence => true end

(3) Add css. (Example) label.need-label{ border-bottom: inset 2px red; }

== Copyright

Copyright (c) 2011 Yamamoto Kazuhisa. See LICENSE.txt for further details.

FAQs

Package last updated on 07 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc